Related Issues (20)
- Player must pass API key to play
- Ship is sunk when all spaces are marked as hitΒ ("Your shot resulted in a Hit. Battleship sunk. Game over.")
- Game ends when all of players ships are sunk. Any action afterwards tells players that the game is over("Invalid move. Game over.")
- One ship is a size of three("Successfully placed ship with a size of 3. You have 1 ship(s) to place with a size of 2."), the other ship is a size of 2("Successfully placed ship with a size of 2. You have 0 ship(s) to place.")
- Players place ships through the following JSON = ship_1_payload = { ship_size: 3, start_space: "A1", end_space: "A3" }.to_json
- Spaces on the board indicate hit, miss, or not_attacked
- POST "/api/v1/games/#{game_id}/ships" Places ships
- POST "/api/v1/games/#{game_id}/shots" Fires shots
- in Games controller, break the create method out to a service
- As a visitor, when I visit the root path, I can register an account
- As a visitor, when I visit the root path, I can log in to my own account
- As a user, when I log in, I am taken to my dashboard, and I can see all my current games, and I can see all my past games, and I can see my win/loss ratio
- As a user, when I visit my dashboard, I can create a new game - dogfood edition
- As a user, when I visit my dashboard, I can see games I've been invited to and I can join them
- As a visitor, when I visit the dashboard, I am redirected to the root path
- refactor shots_controller with before_actions HOT 1
- doesn't allow player to play other games
- style dashboard
- style root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from battleshift.