Skip to content

xmatters-tko/xm-battlesnake-clojure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xm-battlesnake-clojure

A simple BattleSnake AI written in Clojure with Ring

This is loosely based on Heroku's official Getting Started with Clojure On Heroku.

Deploy

Running the AI locally

Fork and clone this repo:

git clone https://github.com/xmatters-tko/xm-battlesnake-clojure.git
cd xm-battlesnake-clojure

Install Leiningen

Run the server:

lein ring server-headless

Test the client in your browser: http://localhost:3000

Deploying to Heroku

Click the Deploy to Heroku button at the top or use the command line commands below.

Create a new Heroku app:

heroku apps:create APP_NAME

Push code to Heroku servers:

git push heroku master

Open Heroku app in browser:

heroku open

Or go directly via http://APP_NAME.herokuapp.com

View/stream server logs:

heroku logs --tail

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published