Domain Modeling :: Street Fighter
Welcome to my simplistic version of Street Fighter simulation.
You can select a character, add fighting moves and a final stage where your epic battle commences!
In my Street Fighter domain modeling universe, the Minimum Viable Product (MVP) I was aiming for this capstone project would be to allow a user to select a character and perform character's fighting moves on multiple stage platforms.
The extended function I am aiming for would be to save a user's session when signing up or logging in, and user's ability to record multiple selections of characters with various fighting moves and stage platforms.
Models
User, Character, Move, Stage
user has_many :characters
character
belongs_to
:user
characterhas_many
:moves
characterhas_many
:stages,through:
:moves
stage
has_and_belongs_to_many
:moves
stagehas_many
:characters,through:
:moves
move
belongs_to
:character
movehas_and_belongs_to_many
:stages
Views
Welcome Page
Users :: delete, edit, index, login, logout, signup
Characters :: battle, index, show
Moves :: edit, new
Stages :: edit, new
Controller
ApplicationController
CharactersController
MovesController
StagesController
UsersController
User Account and Validation
Sign Up
Edit
Sign Out
validate_uniqueness_of
validates_presence_of
CRUD
Each user has the CRUD (Create, Read, Update and Delete) capabilities that is unique to each respective user.
$ git clone 👾
$ bundle install
$ rake db:migrate
$ shotgun
Open Chrome browser, and redirect to 'http://localhost:9292' to start the app.
- Active Record
- Bcrypt
- Sinatra
- SQLite
- HTML/CSS
- Rack-flash3
- Bootswatch