Skip to content

Program your RPG character using JavaScript! Very simple, very easy to play, but with endless possibilities. Like an Idle RPG but with way more control over the player's destiny.

Notifications You must be signed in to change notification settings

highwaycoder/autoquest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG

A simple browser-based role-playing game with a twist: The player cannot control their character directly. They can only write JavaScript code in order to play the game.

API

The expression the user types must evaluate to a function, which will be executed every "turn". The function takes two arguments: game - an API that allows you to control the game timestamp - a high-resolution timestamp

Game object

game.movePlayer(x, y): move the player by the delta x, y (e.g -1, 1 will move one tile left and one tile down).

About

Program your RPG character using JavaScript! Very simple, very easy to play, but with endless possibilities. Like an Idle RPG but with way more control over the player's destiny.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •