Skip to content

turing40kconsultants/wh40k_Battlegrounds_fe

Repository files navigation

40k Battlegrounds Front End

WARHAMMER-40K

Ruby Rails

Instructions

  1. Login or Create an account

    • Login: Click on the Login link to log in using your GitHub account.
    • Create a New Account: If you don't have an account, click on the Create New Account link to sign up.
  2. Choosing Units for Battle

    • Choose Units: Click on the Choose Units link to select your attacker and defender units.
    • Search for Units: Use the dropdown menu to select a faction and click Search For Units.
    • Select Units: Review the list of units and choose one for the attacker and one for the defender by selecting the corresponding radio buttons.
    • Click Submit to finalize your selection.
  3. Starting the Battle

    • Once you have selected both attacker and defender units, click the Start Fight button to initiate the battle.
  4. After the Battle, you will see battle results

    • The number of wound dealt.
    • If any units were killed during the attack.
    • A message indicating the outcome of the battle
  • Click "Prepare the Next Battle" to set up a new battle.

  • Enjoy the game and may your strategies lead you to victory in the Warhammer 40K Battlegrounds!

Screenshots

drawing

drawing

drawing

drawing

drawing

Deployed location

Site

Development setup

The front-end of this project uses Ruby on Rails 7.1.3

First, clone the repository to your computer

git clone https://github.com/turing40kconsultants/wh40k_Battlegrounds_fe

Next, install all of the Gems

bundle install

Create the necessary databases -

rails db:{create,migrate,seed}

Finally, start the development server

rails s

and open a web browser with URL localhost:3000. Keep in mind that the back end of this application must be running on localhost:5000 for the front end to function correctly. For instructions on how to run the back-end server, see the back end GitHub page.

Run the test suite to diagnose issues. Keep in mind that the back end must be set up correctly and serving on localhost:5000 for these tests to pass -

bundle exec rspec

Technology used

  • Rails 7.1.3
  • Ruby 3.2.2
  • Faraday
  • RSpec
  • Bootstrap 5.3.2
  • sassc-rails

Socials

Clyde Autin | clydeautin | LinkedIn

Chee Lee | cheeleertr | LinkedIn

Luis Aparicio | LuisAparicio14 | LinkedIn

Lance Butler | LJ9332 | LinkedIn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •