An open API service indexing awesome lists of open source software.

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

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 |