Skip to content

svdberg/ClankAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# ClankAttack

simple tank game

## Usage
Simpelest usage:
open REPL
(load-file "src/ClankAttack/core.clj")
(ns ClankAttack.core)
(setup-walls)
(demo)

Or if u want to play around some more:

To create tanks:
open the repl;

(ns ClankAttack.core)
;create tanks:
(def tanks (setup))
;create the animation agent
(send-off animator animation)
;let the tanks behave
(dorun (map #(send-off % behave) tanks))

You can optionally create some walls in the playing field by using the functions
create-horizontal-wall and create-vertical-wall in the namespace world.

## Installation

FIXME: write

## License

Copyright (C) 2010 FIXME

Distributed under the Eclipse Public License, the same as Clojure.

About

Clojure implementation of a tank attack game!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published