Skip to content

Commit d1d4ae5

Browse files
committed
release: Bump version 2.0
1 parent 6b2ba78 commit d1d4ae5

File tree

5 files changed

+67
-16
lines changed

5 files changed

+67
-16
lines changed

README.md

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1-
# Pentris - v1.5
1+
# Pentris - v2.0
22

33
Tetris, but with the pentominoes 😎
44

55
## Play Now
66

7-
Play `1.5` now at [plett.fun/pentris](https://plett.fun/pentris)
7+
Play `2.0` now at [plett.fun/pentris](https://plett.fun/pentris)
88

99
#### Controls
1010

11-
- **WASD** or **Arrow Keys**: Classic controller movement. Up is drop.
12-
- **Q** & **E** or **/** & **Shift**: Rotate.
13-
- **Space**, **F**, or **R**: Reflect.
14-
- **Tab**, **CapsLock**, **Z**, or **X**: Hold for later.
11+
You can configure your controls in [settings](https://plett.fun/pentris/settings), and they'll save in your browser.
1512

16-
## Previous Playable Versions
13+
These are the default controls:
1714

15+
- **Arrow Keys** for piece movement horizontally and vertically.
16+
- **A or D** to rotate.
17+
- **W** to bank the piece for later.
18+
- **Space** to reflect.
19+
20+
#### Gameplay
21+
22+
As you play Pentris, you'll realize it's very difficult to survive long without holes. Here's some tips if you're new.
23+
24+
- Start with a one-block-wide space on one side, for your long `I`s to go in and score maximal points.
25+
- Practice looking ahead to upcoming pieces, and watch out for the extra difficult `X`s, `V`s, `Z`s, and `T`s.
26+
- Don't forget pieces can go sideways! This is especially important for `Z`s and `T`s.
27+
- Do your best to not create 2-squares-deep holes, as only a small subset of pieces can fill those.
28+
- If you've got too many holes, abandon your space on the side and just start digging.
29+
30+
If you are an experienced player and want to maximize your score, you can start on later levels just like NES Tetris. This is configured in your [settings](https://plett.fun/pentris), which will be saved.
31+
32+
## Version Archive
33+
34+
- 1.5: [not accessible](https://plett.fun/pentris). No settings, worse scoring, no kill screen. ([code](https://github.com/plettj/pentris/tree/19bed699b575ab2ae26617712574afc7700df354))
1835
- 1.4: [not accessible](https://plett.fun/pentris). No start/end screens or dynamic leaderboard. ([code](https://github.com/plettj/pentris/tree/1f4b41f266b359fbdcad6732712769aa9d65d39e))
1936
- 1.3: [here](https://pentris-1point3.surge.sh/). No sustainable code infra. ([code](https://github.com/plettj/pentris/tree/4a8eda8137e8ec06056809e99d8489f3997a19ce))
2037
- 1.2: [here](https://pentris-1point2.surge.sh/). No hold bucket. ([code](https://github.com/plettj/pentris/tree/46b75d539ebfb336e849dfd46e61e3b5fcfbaa8f))
@@ -23,9 +40,43 @@ Play `1.5` now at [plett.fun/pentris](https://plett.fun/pentris)
2340

2441
## High Scores
2542

26-
### Version >=1.4
27-
28-
Dynamic leaderboard introduced!
43+
### Version 2.0
44+
45+
Check the live leaderboard at [plett.fun/pentris](https://plett.fun/pentris).
46+
47+
### Version 1.4 & 1.5
48+
49+
| Rank | Username | Score |
50+
| ---- | --------------- | ----- |
51+
| 1 | Tetrian22 | 41216 |
52+
| 2 | KonSola5 | 5398 |
53+
| 3 | Loser3 | 2595 |
54+
| 4 | elbow | 2187 |
55+
| 5 | Loser3 | 1715 |
56+
| 6 | C R E A T O R | 1486 |
57+
| 7 | Dunspixel | 1467 |
58+
| 8 | hmmmmlmao | 1408 |
59+
| 9 | Not70xic | 1393 |
60+
| 10 | elbow | 1332 |
61+
| 11 | elbow | 1295 |
62+
| 12 | elbow | 1199 |
63+
| 13 | C R E A T O R | 1140 |
64+
| 14 | wind4life | 1060 |
65+
| 15 | aqua6623 | 988 |
66+
| 16 | DrLoaf | 964 |
67+
| 17 | elbow | 914 |
68+
| 18 | pentris | 668 |
69+
| 19 | snowdozer | 611 |
70+
| 20 | elbow | 576 |
71+
| 21 | elbow | 533 |
72+
| 22 | GlasierXplor | 515 |
73+
| 23 | octupus tea | 383 |
74+
| 24 | Solomon | 351 |
75+
| 25 | NOT_A_ROBOT | 314 |
76+
| 26 | Peet the beet | 228 |
77+
| 27 | oman276 | 121 |
78+
| 28 | C R E A T O R 2 | 120 |
79+
| 29 | MarkGamed | 102 |
2980

3081
### Version 1.3
3182

public/static/pentris/preview.png

14.9 KB
Loading

src/app/pentris/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import { type Metadata } from "next";
55

66
// OPG compliant metadata (https://ogp.me/)
77
export const metadata: Metadata = {
8-
title: "Pentris v1.5",
8+
title: "Pentris v2.0",
99
description: "Tetris, but with the Pentominoes",
1010
openGraph: {
1111
type: "website",
1212
locale: "en_US",
1313
url: BASE_URL,
14-
title: "Pentris v1.5",
14+
title: "Pentris v2.0",
1515
siteName: "Pentris",
1616
description: "Tetris, but with the Pentominoes",
1717
images: [

src/app/pentris/settings/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
1010
type: "website",
1111
locale: "en_US",
1212
url: BASE_URL,
13-
title: "Pentris v1.5",
13+
title: "Pentris v2.0",
1414
siteName: "Pentris",
1515
description: "Tetris, but with the Pentominoes",
1616
images: [

src/game/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ const defaultKeybinds: Record<GameAction, string[]> = {
268268
right: ["ArrowRight"],
269269
down: ["ArrowDown"],
270270
drop: ["ArrowUp"],
271-
rotateCw: ["KeyA"],
272-
rotateCcw: ["KeyD"],
273-
reflect: ["Space", "KeyS"],
271+
rotateCw: ["KeyD"],
272+
rotateCcw: ["KeyA"],
273+
reflect: ["Space"],
274274
bank: ["KeyW"],
275275
};
276276

0 commit comments

Comments
 (0)