Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
PhantomChess
-
Hello all
As some of you may have seen in the questions section of the forum, I have been for the past month or so been working on a game of chess. It was developed entirely in Pythonista, and it is here. There are still lots of bugs, and the AI isn't working properly, but I'm working on that now and thought I'd share what I have here. Please note that as it is a repo, not a single file, an installer file (in
.py
form and.exe
for Windows) is provided in the main directory to download, extract, and place in the site-packages folder the main package. Also, the same file can be used to redownload the source every time it's updated.It's extremly simple to use, on the order of 3 lines total to start a game using the
scene
module in Pythonista:import Phantom game = Phantom.ChessGame() game.gui()
I hope you like it!
(links to screenshots: screenshot0, screenshot1, screenshot2)
-
Link to repo is fixed, apologies for the typo.
-
unicode_chess_pieces.py
import console console.set_font('Arial', 40) chess_pieces = [unichr(9812+i) for i in xrange(12)] print(' '.join(chess_pieces))
-
PhantomChess
has been getting quite a few updates in recent weeks and it would be good to get feedback from others. It is a Python-based Chess game that has three modes of operations in Pythonista. It starts up intext-only mode
where it takes commands on the interactive prompt. Thegui
command switches it into a ui/scene based gui mode. Thesk
command switches it into a ui/sk based gui mode for those who are running the Pythonista v1.6 beta.To install Phantom, copy the text of
Phantom_installer.py
into a new Pythonista script window and run it. A local Phantom directory will be created with aRun_this.py
file in it. To improve PhantomChess Please open issues or send pull requests.