Coder Social home page Coder Social logo

artattack's Introduction

koth-webplayer

This is a framework for Javascript-based King-of-the-Hill competitions.

See it in Action

And see the current unit test / linter status on master here.

Making Games

Check the create-a-game guide for details on how to create your own games using this framework.

Aims

This project has some rough aims:

  • Easy fetching of entries from Stack Exchange answers (done!)
  • Sandboxed and super-fast game simulation via the power of sandboxed iframes and Web Workers (done!)
  • Re-runnable games via a random seed system (done!)
  • Out-of-the-box management of entries, and UI for testing/debugging new entries (mostly done!)
  • Configurable out-of-the-box match and tournament management (mostly done!)
  • Fancy visualisations (see the game as a torus!) (done!)
  • Local storage persistence of display preferences & in-progress entries (not done)

Modifying the Framework

This is early stages, and lots of functionality doesn't exist yet, or is rather quick-and-dirty, so it's likely that new games will need some changes to the engine itself.

Contributions are welcome! Check the contributing guidelines for details.

artattack's People

Contributors

davidje13 avatar dzaima avatar eaglgenes101 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

kenorb-contrib

artattack's Issues

Uncaught TypeError: Cannot read property 'classList' of null

When running Tournament with few bots, it errors.

Uncaught TypeError: Cannot read property 'classList' of null
at HTMLTableRowElement.onmouseover (VM12596 artattack.htm:4)

Lines:

[...document.querySelectorAll(".pointed")].forEach(c=>c.classList.remove("pointed"));
mark.classList.add("pointed");

image

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.