Git Product home page Git Product logo

battlecraft's Introduction

battlecraft

This repository is not longer maintained. I am working on the next version of battlecraft to be released at a later date. I hope to upgrade a number of features about the game (both internal and external) but keep the core gameplay intact.

battlecraft is a simple multiplayer browser-based game built with erlang and elm. It is an implementation of a distributed game engine. The objective of the game is to spawn units to destroy your opponents base.

battlecraft

to begin a game simply create an appropriately sized game from the games page (/games) and share the game url with your friends.

Controls

Spawn units with the standard wasd keys and use the arrow keys to move the view.

Install

Requirements

  • erlang otp 18+
  • rebar3
  • node + npm

Instructions

git clone https://github.com/jbreindel/battlecraft
cd battlecraft
rebar3 release
_build/default/rel/bc/bin/bc start

Developing

battlecraft is built using rebar3, and gulp. I also highly recommend using observer to inspect erlang at runtime. Any rebar3 commands and usage can also be used to debug, and open shells to battlecraft.

Motivations

I wrote battlecraft to understand how to build a complete game and game engine. I wanted to divorce battlecraft from the traditional game loop and model the AI entities in an asynchronous system.

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Thank You

Battlecraft would have not been possible without the assets from opengameart.org and the tiled map editor.

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.