This commit is contained in:
2025-01-24 10:22:13 -08:00
commit fc0a446b01
107 changed files with 3251 additions and 0 deletions

View File

@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end

View File

10
app/models/game.rb Normal file
View File

@ -0,0 +1,10 @@
class Game < ApplicationRecord
def gametype_str
case self.gametype
when 0
"Classic"
else
"Unknown"
end
end
end

2
app/models/player.rb Normal file
View File

@ -0,0 +1,2 @@
class Player < ApplicationRecord
end