Git Product home page Git Product logo

gunduel's Introduction

GunDuel

Futuristic Gun Duel Tournament at Programming Puzzles & Code Golf at Stack Exchange

C++ Submissions

Please :

  • Post your submission as an answer to the PPCG.SE post.
  • Fork this project and request your files to be pulled.

Python Submissions

Edit PythonPlayer\<architecture>\PythonPlayer.py to test your submission.

  • You can save state files, which are subject to removal at the beginning of a tournament.
  • Your script is called once per turn.
  • Commandline interface may change before Jan. 7, 2017.

Other Submissions

Language Allowed: Java.

Executables Allowed.

Command Line and Return Code Requirements

Expected Command Line Argument Format:
	<opponent-id> <turn> <status> <ammo> <ammo-opponent> <history> <history-opponent>

Expected Return Code: The ascii value of a valid action character.
	'0' = 48, '1' = 49, '2' = 50, '-' = 45, '=' = 61

Player identifier is an integer in [0, N), where N is size of tournament.
Turn is 0-based.
If duel is in progress, status is 3.
If duel is draw / won / lost, status is 0 / 1 / 2.
If turn is 0, <history> and <history-opponent> are not provided.
Histories are strings of actions, e.g. 002 0-=
You can ignore arguments you don't particularly need.

The binaries will be added to the repository if they meet the requirements and does no harm to any computer.

Current Standing (update upon new submission)

05:11 AM Sunday, January 1, 2016 Coordinated Universal Time (UTC)

Player Language Survival Points
CBetaPlayer C++ 14 rounds 5345
MontePlayer C++ 13 rounds 8624
FatedPlayer C++ 12 rounds 4583
StudiousPlayer C++ 11 rounds 7279
HanSoloPlayer C++ 10 rounds 4092
BarricadePlayer C++ 9 rounds 4090
BotRobotPlayer C++ 8 rounds 3123
SadisticShooter C++ 7 rounds 4389
SurvivorPlayer C++ 6 rounds 3729
TurtlePlayer C++ 5 rounds 2988
CamtoPlayer C++ 4 rounds 2651
OpportunistPlayer C++ 3 rounds 1403
GunClubPlayer C++ 2 rounds 1209
DeceptivePlayer C++ 1 round 826
PlasmaPlayer C++ 0 rounds 410

Disqualified Players (Honorable Mentions)

gunduel's People

Contributors

fzql avatar cvtsi2sd avatar muddyfish avatar conorobrien-foxx avatar turamarth14 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.