Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrypula committed Nov 25, 2018
1 parent 96c8d3a commit 3092148
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ was inspired by Redux and was written from scratch in TypeScript.

**NOTE:** This project is still not finished. More details in the TODO section below.

[Play online](https://cdn.rypula.pl/simple-tetris/v1.2.0-rc/api-client-browser.html) - use WSAD keys on Desktop or on-screen buttons on Mobile devices.
[Play online](https://cdn.rypula.pl/simple-tetris/v1.2.0/api-client-browser.html) - use WSAD keys on Desktop or on-screen buttons on Mobile devices.

[![Api client browser](https://cdn.rypula.pl/simple-tetris/api-client-browser.gif)](https://cdn.rypula.pl/simple-tetris/api-client-browser.gif)

Expand Down Expand Up @@ -93,7 +93,7 @@ npm install simple-tetris

If you just want to play the game and don't want to use any API you can simply use build-in Ascii Runner.

[Play online](https://cdn.rypula.pl/simple-tetris/v1.2.0-rc/ascii-runner-browser.html) - use Arrows on Desktop or on-screen buttons on Mobile devices.
[Play online](https://cdn.rypula.pl/simple-tetris/v1.2.0/ascii-runner-browser.html) - use Arrows on Desktop or on-screen buttons on Mobile devices.

```html
<pre id="root"></pre>
Expand Down Expand Up @@ -126,7 +126,6 @@ that simplifies basic input and output of the text based games.
## Changelog

### Still TODO
- implement hard drop and integrate it with collision detection (probably in **1.3.x**)
- move tetrimino one line down after given interval (probably in **1.4.x**)
- when tetrimino will hit the 'ground' trigger new tetrimino (probably in **1.5.x**)
- detect and remove completely filled lines (probably in **1.6.x**)
Expand All @@ -142,9 +141,13 @@ that simplifies basic input and output of the text based games.
- next piece preview (probably in **2.x.x**)
- ...

### 1.2.0 - ?? November 2018
- [todo] collision detection both with borders and other blocks
### 1.3.0 - ?? ?? 2018
- [todo] implement hard drop and integrate it with collision detection (probably in **1.3.x**)

### 1.2.0 - 25 November 2018
- collision detection both with borders and other blocks
- updates in internal 'Simple Redux' implementation
- small performance fix in matrixBlocksToRenderSelector
- tetriminos now rotates clockwise
- fields in IAsciiRunnerOptions are now optional
- bugfix related to keyName parameter usage in ascii-runner.ts
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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-tetris",
"version": "1.2.0-rc",
"version": "1.2.0",
"description": "This package provides API that allows you to easily create clones of the Tetris game. It handles game core - your role is to write the UI. Library was inspired by Redux and was written from scratch in TypeScript.",
"keywords": [
"ascii game",
Expand Down Expand Up @@ -38,7 +38,7 @@
"npm-check": "npm-check --skip-unused",
"npm-check:u": "npm-check --skip-unused -u"
},
"main": "dist/simple-tetris-v1.2.0-rc.js",
"main": "dist/simple-tetris-v1.2.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 = '1.2.0-rc';
export const version = '1.2.0';
export const author = 'Robert Rypuła';
export const githubUrl = 'https://github.com/robertrypula';
2 changes: 1 addition & 1 deletion src/templates/ascii-runner-node.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2018 Robert Rypuła - https://github.com/robertrypula

const SimpleTetris = require('./simple-tetris-v1.2.0-rc.js');
const SimpleTetris = require('./simple-tetris-v1.2.0.js');
const asciiRunner = new SimpleTetris.AsciiRunner();

// in your application replace it to: require('simple-tetris');

0 comments on commit 3092148

Please sign in to comment.