はじめに

またいつものように面白いものないかなで調べたところ、懐かしいゲームの名前があったのでやってみる。
https://packages.ubuntu.com/ja/jammy/games/

今回はゲーム、 2048 を遊ぶ。

環境

1
2
3
Windows 10 Professional
WSL2 - (Ubuntu22.04 LTS)
2048

2048のインストール

1
sudo apt-get install 2048
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  golang-1.18 golang-1.18-doc golang-1.18-go golang-1.18-src golang-doc golang-go golang-src pkg-config
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  2048
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 14.7 kB of archives.
After this operation, 46.1 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 2048 amd64 0.20210105.1243-1 [14.7 kB]
Fetched 14.7 kB in 1s (14.9 kB/s)
Selecting previously unselected package 2048.
(Reading database ... 101965 files and directories currently installed.)
Preparing to unpack .../2048_0.20210105.1243-1_amd64.deb ...
Unpacking 2048 (0.20210105.1243-1) ...
Setting up 2048 (0.20210105.1243-1) ...
Processing triggers for man-db (2.10.2-1) ...

2048で遊ぶ

1
2048

で遊べる。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
2048.c                 0 pts


   ·      ·      ·      ·


   ·      ·      ·      ·


   ·      ·      ·      ·


   ·      2      ·      2


        ←,↑,→,↓ or q

コンソールだとこんな感じ。
キャプチャじゃないと見にくいかも。
play-1

キャプチャだとこれ、矢印キーで遊ぶ。

これ、2014年位に流行ったよな~。
正直めっちゃ好き。

play-2

全然だめでした~!

おわりに

Ubuntuのパッケージとしてあったのが驚き…。
自分が遊んでたのはブラウザ版なので、コンソールでやるのも乙なものだな。