Giter Site home page Giter Site logo

nullvoxpopuli / doctor-who-thirteen-game-ai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nloginov/2048-ai

0.0 2.0 0.0 108.15 MB

JavaScript AI player for the original 2048 game (http://gabrielecirulli.github.io/2048/) that runs from the address bar

License: MIT License

JavaScript 40.64% HTML 14.38% CSS 2.43% TypeScript 42.55%

doctor-who-thirteen-game-ai's Introduction

A.I. player for the Doctor Who "Thirteen" game.

This is JavaScript AI player for a variant of the game "2048".

Play the game "Thirteen" here: https://doctorwho.tv/games/thirteen/

How to use the A.I.

  1. In your browser's bookmark bar, right click

  2. Click "Add Page"

  3. Paste the following content into the URL field

    javascript:(function(){let src='https://raw.githubusercontent.com/NullVoxPopuli/doctor-who-thirteen-game-ai/master/ai.js';async function fetchAndInsertScript(){let response=await fetch(src);let script=await response.text();let element=document.createElement('script');element.innerHTML=script;document.body.appendChild(element);}fetchAndInsertScript();})();
  4. Click "Save"

  5. Visit https://asset-manager.bbcchannels.com/m/2fzi3/

  6. Click the bookmark created in step 4

  7. Watch how for it gets

Development

A.I.

  1. clone the repo
  2. cd docker-who-ai
  3. yarn && yarn start
  4. This starts a development environment with a local copy of the game

Bookmarklet

  1. clone the repo
  2. change the bookmarklet URL to your fork/branch
  3. copy contents of bookmarklet.js to https://ted.mielczarek.org/code/mozilla/bookmarklet.html
  4. copy "Your Bookmarklet" url to your bookmark

Resources

doctor-who-thirteen-game-ai's People

Contributors

nloginov avatar nullvoxpopuli avatar

Watchers

 avatar  avatar

doctor-who-thirteen-game-ai's Issues

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.