lxgr-linux / pokete

A terminal based Pokemon like game
https://lxgr-linux.github.io/pokete
GNU General Public License v3.0
2.86k stars 180 forks source link

SyntaxError: invalid syntax #252

Closed zenhighzer closed 1 year ago

zenhighzer commented 1 year ago

Checklist I have: $ pip install scrap_engine $ git clone https://github.com/lxgr-linux/pokete.git $ ./pokete/pokete.py

Describe the bug ./pokete/pokete.py File "./pokete/pokete.py", line 130 if (index := deck.deck(mvp.movemap, 6, "Your deck", True)) is None: ^ SyntaxError: invalid syntax

To Reproduce Steps to reproduce the behavior: ./pokete/pokete.py

Expected behavior starting the game

Environment

MaFeLP commented 1 year ago

Hi @zenhighzer!

Python 3.10 is required to run pokete, a python version of 3.10 or newer is required (see the badges at the top of the ReadMe). To run the game, you could either use the latest Linux Mint 21 "Vanessa", or any other distribution based on Ubuntu 22.04 (or newer), which ship Python 3.10 by default. Otherwise, you could try to install the flatpak version.

Hope that helps!