Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
an HTTP, multiplayer implementation of the classic Battleship game
Common Lisp
branch: master

-Added cl-actors into the mix for game-state management

-Added a way of dealing with timed out players
latest commit 018adc827b
inaimathi authored
Failed to load latest commit information.
img -Added artwork and styling
js -added jquery to the system
.gitignore -Broke out the model into
LICENSE.md -Added artwork and styling
README.md -Updated README file to reflect all the recent changes
board.lisp -Minor code moving following notes from the secon StrifeBarge write-up
css.lisp -Working multi-game implementation with alists
game.lisp -Added cl-actors into the mix for game-state management
history-event.lisp -Split game.lisp off into three files (game, player and history-event)
js-macros.lisp -Trimming useless code and reordering js-macros
js.lisp -Added cl-actors into the mix for game-state management
model.lisp -Added cl-actors into the mix for game-state management
package.lisp -Added cl-actors into the mix for game-state management
player.lisp -Added cl-actors into the mix for game-state management
ship.lisp -Added CLOS-mapping functions to util
space.lisp -Minor code moving following notes from the secon StrifeBarge write-up
start.lisp -ajaxified the firing procedure
strifebarge.asd -Added cl-actors into the mix for game-state management
strifebarge.lisp -Added cl-actors into the mix for game-state management
util.lisp -Added cl-actors into the mix for game-state management

README.md

StrifeBarge

Attack of the strategic thesaurus

This is an HTTP, multiplayer guessing game

Notes

  • Semi-playable, graphic version is now available (only supports one game per server at the moment, so just stick to playing with your local friends)
  • Makes heavy use of HTML5 and CSS3 constructs; recent browsers advised

Usage

You can almost ql:quickload it. It uses a package called cl-css to eliminate a bunch of CSS3 boilerplate, so you'll need to install that via ASDF or github.

(require 'asdf) 
(require 'asdf-install) 
(asdf-install:install 'cl-css)` 
  1. Clone this repository
  2. Start up your lisp
  3. (ql:quickload :strifebarge)
  4. Browse to http://[your-machine-ip]:5050 and have your opponent do the same
  5. One of you start a New Game. The other should then Join it.
  6. Play StrifeBarge

License Info

This program is released under the GNU AGPL (License text can be found in the LICENSE.md file, or at http://www.gnu.org/licenses/)

A minified copy of jQuery is included for ease of installation; jQuery is dual-licensed under the GPL and Expat licenses. Readable source can be found at their project page.

Media is included from OpenGameArt.org. This includes

more to come, I'm sure.

Something went wrong with that request. Please try again.