Code Monkey home page Code Monkey logo

c4game's Introduction

Mark Sellors ๐Ÿ˜ท๐Ÿ ๐Ÿฅ‘

Hello, I'm Mark, generally to be found as @sellorm in online spaces.

I'm interested in technology, open-source, R and Python and the infrastructure required to run open-source and open-data based data science.

If you like R, you might be interested in my R4Pi project that brings new versions of R, as well as pre-built package binaries, to the Raspberry Pi family of computers.

My blog is where you'll find most of my writing.

I also have a bunch of random projects ๐Ÿ˜‚

c4game's People

Contributors

dougmet avatar sellorm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c4game's Issues

Add some tests

There are currently no tests - that needs fixing as a matter of urgency!

No error checking on dropToken input

This means a player can suggest dropping a token into a non-existent column (eg column 8 in c4repl) which results in an error.

This is be trapped before the error, the situation reported back to the player and game$player should remain not switch to the other player.

Properly support a stalemate

There is currently no support anywhere in the c4game class for a stalemate.

Proper support and a new gamestate should be added to support this scenario.

Support would also need to be added to the getWinner method, which should return NA

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.