GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bathruby/battlebots: :boom: Battlebots arena for January Bath Ruby meetup

This repository was archived by the owner on Jul 4, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
bots
bots
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
Readme.md
Readme.md
 
 
Vagrantfile
Vagrantfile
 
 
bootstrap.sh
bootstrap.sh
 
 
playmanygames.sh
playmanygames.sh
 
 

Repository files navigation

Battlebots

Setup for an AI-based tank game based on RTanque

Requirements

  • Ruby 2.1 or greater
  • Bundler
  • Gosu dependencies
    • Mac: https://github.com/jlnr/gosu/wiki/Getting-Started-on-OS-X
    • Linux: https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux
    • Windows: https://github.com/jlnr/gosu/wiki/Getting-Started-on-Windows

Setup

$ git clone [email protected]:bathruby/battlebots.git
$ cd battlebots
$ bundle install

Vagrant

If you don't have the dependencies installed or you are running on Windows, you can use Vagrant to create a Virtual Machine with all dependencies set up automatically. Install Vagrant and Virtualbox, then run vagrant up from the root of this repository and you should see the VM start up & dependencies be downloaded and installed.

$ git clone [email protected]:bathruby/battlebots.git
$ cd battlebots
$ vagrant up

Once you see the GUI login menu appear (after a VM restart), log in with the "Vagrant" user, password "vagrant", open a terminal, cd /vagrant and start playing as below:

How to play

Generate a new bot with:

$ bundle exec rtanque new_bot my_deadly_bot

Run a test match with:

$ bundle exec rtanque start bots/my_deadly_bot sample_bots/keyboard sample_bots/camper:x2

Then fork the project on GitHub and add your bot to the bot folder and send it back as a pull request.

Check out the RTanque documentation: http://www.rubydoc.info/github/awilliams/RTanque/ and existing bots: https://github.com/awilliams/RTanque/wiki/bot-gists

About

💥 Battlebots arena for January Bath Ruby meetup

www.meetup.com/bathruby/events/219211921/

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

5 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.