Skip to content

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!

Notifications You must be signed in to change notification settings

fentybit/SinatraStreetFighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra::Street Fighter


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!

YouTube Demo

DEV Blog

About

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.

Features


Models
User, Character, Move, Stage

user has_many :characters

character belongs_to :user
character has_many :moves
character has_many :stages, through: :moves

stage has_and_belongs_to_many :moves
stage has_many :characters, through: :moves

move belongs_to :character
move has_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.

Installation

$ git clone 👾
$ bundle install
$ rake db:migrate 
$ shotgun

Open Chrome browser, and redirect to 'http://localhost:9292' to start the app.

Stack

  • Active Record
  • Bcrypt
  • Sinatra
  • SQLite
  • HTML/CSS
  • Rack-flash3
  • Bootswatch

Resources

About

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!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published