Skip to content

Commit

Permalink
3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrypula committed Nov 3, 2018
1 parent 26b13d1 commit 08d4ec2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Browser example:

[![Terminal example](https://cdn.rypula.pl/terminal-game-io/demo-browser.gif)](https://cdn.rypula.pl/terminal-game-io/demo-browser.gif)

You can check the browser example [here](https://cdn.rypula.pl/terminal-game-io/v3.0.1-rc/demo-browser.html)
You can check the browser example [here](https://cdn.rypula.pl/terminal-game-io/v3.1.0/demo-browser.html)

Interactive code examples:
- Clean JavaScript simplest example [here](https://codesandbox.io/s/4m94kx0z9)
Expand All @@ -35,6 +35,7 @@ npm install terminal-game-io
## Changelog

### Still TODO
- small refactor of dev/demo files structure as currently it's not clear which file is used in particular development mode
- render only part that really changed (more complex performance fix)
- fix ssh connection double keypress bug
- think about prevent default of keyboard event
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terminal-game-io",
"version": "3.0.1-rc",
"version": "3.1.0",
"description": "It has never been easier to start writing ASCII games in NodeJs or browser. This package handles for you basic input (keyboard events) and output (ASCII 'frame').",
"keywords": [
"angular",
Expand All @@ -13,7 +13,7 @@
"terminal game",
"terminal keypress",
"terminal render frame",
"type script"
"typescript"
],
"author": "Robert Rypuła",
"license": "MIT",
Expand All @@ -31,7 +31,7 @@
"npm-check": "npm-check --skip-unused",
"npm-check:u": "npm-check --skip-unused -u"
},
"main": "dist/terminal-game-io-v3.0.1-rc.js",
"main": "dist/terminal-game-io-v3.1.0.js",
"types": "dist/main.d.ts",
"files": [
"dist/"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2018 Robert Rypuła - https://github.com/robertrypula

export const version = '3.0.1-rc';
export const version = '3.1.0';
export const author = 'Robert Rypuła';
export const githubUrl = 'https://github.com/robertrypula';
2 changes: 1 addition & 1 deletion src/templates/demo-node.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2018 Robert Rypuła - https://github.com/robertrypula

const TerminalGameIo =
require('./terminal-game-io-v3.0.1-rc.js'); // in your application replace it to: require('terminal-game-io');
require('./terminal-game-io-v3.1.0.js'); // in your application replace it to: require('terminal-game-io');

const Key = TerminalGameIo.Key;

Expand Down

0 comments on commit 08d4ec2

Please sign in to comment.