Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuclear Launch Controls #4

Open
FifthSurprise opened this issue Apr 25, 2015 · 0 comments
Open

Nuclear Launch Controls #4

FifthSurprise opened this issue Apr 25, 2015 · 0 comments

Comments

@FifthSurprise
Copy link
Contributor

Nuclear Launch Control Page and handlers

This should be a form that checks back-end for nuclear launch control pairs.
We can store the launch codes as a model connected to Game.

Each nation should get their own pair of codes.

Once "authenticated", set a flag in game data that a launch has occurred and its target (both of which we will access later)

A view should be created that accepts code submissions and validates them.

Another view should handle displaying the launch itself. For now, it should just display who launched the nuke and at whom.

A design should be made first before completing the below steps:

  1. Create a table for Nuclear Launch Codes. It should have country, codeA, codeB, and game.
  2. Update game data to store a variable for nuke_launch
  3. Create route/controller for handling nuclear launch controls
  4. A route/view should exist for entering in codes. It should be a single page with two text form fields for the two codes, a text field for the target, and a validation button.
  5. Validate that the codes match the database.
  6. On success, update game data nuke_launch variable
  7. Create new route called /launched
  8. Create a view that depicts a nuclear launch and the target.

An additional ticket will handle forcing users to the /launched page after it is built.

@FifthSurprise FifthSurprise modified the milestone: 1.0 - Rookies Game May 27, 2015
@FifthSurprise FifthSurprise changed the title Nuclear Launch Controls Backend Nuclear Launch Controls May 27, 2015
@FifthSurprise FifthSurprise removed this from the 1.0 milestone Jan 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants