Coder Social home page Coder Social logo

blank-indigo-sbt's Introduction

Archived & Replaced! ("Blank Indigo Game Template for sbt")

For sbt

Please use the Indigo g8 template.

For Mill

The Mill version of this template is still being kept up to date until an equivalent g8 template is produced.


A template and aid to memory to bootstrap your game.

Everything is referred to as "my game", you'll need to replace those values with the name of your game.

Contents

There are three source classes, one for each project type. The sandbox one is active while the others are commented out, you should remove whichever you don't need.

Running the game

The easiest way to run the game is with the following command:

sbt runGame

Alternatively, assuming you have SBT and http-server set up as the set up guide suggests, to run the demo, do the following from your command line:

Unlike the instructions below, you should use SBT's own shell (just type sbt at the command line) because it's much faster.

sbt buildGame

Which will generate output similar to:

> sbt buildGame
[info] welcome to sbt 1.3.13 (AdoptOpenJdk Java 1.8.0_202)
(...)
dirPath: /Users/(...)/blank-indigo-sbt/target/indigoBuild
Copying assets...
/Users/(...)/blank-indigo-sbt/target/indigoBuild/index.html
[success] Total time: 0 s, completed Jun 13, 2020 10:23:57 PM

Then:

  1. cd /Users/(...)/blank-indigo-sbt/target/indigoBuild/
  2. http-server -c-1
  3. Navigate to http://127.0.0.1:8080/ in your browser of choice.

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.