https://github.com/ttempleton/rust-battleship
A simple Battleship game written in Rust, using the Piston game engine
https://github.com/ttempleton/rust-battleship
battleship piston rust
Last synced: 3 months ago
JSON representation
A simple Battleship game written in Rust, using the Piston game engine
- Host: GitHub
- URL: https://github.com/ttempleton/rust-battleship
- Owner: ttempleton
- License: mit
- Created: 2016-07-26T07:27:52.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T12:00:18.000Z (over 2 years ago)
- Last Synced: 2023-12-21T14:04:39.797Z (over 2 years ago)
- Topics: battleship, piston, rust
- Language: Rust
- Homepage:
- Size: 289 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rust-battleship
===============
A simple Battleship game written in Rust, using the Piston game engine.
It is currently a one-player vs CPU opponent game.
Keyboard controls:
| Key | Ship Placement | Game |
| ------ | -------------- | ---------------- |
| Arrows | Move ship | Move grid cursor |
| Enter | Place ship | Select space |
| Space | Rotate ship | n/a |
Mouse controls:
| Button | Ship Placement | Game |
| ------ | -------------- | ------------ |
| Left | Place ship | Select space |
| Right | Rotate ship | n/a |