Progress?
authorSam Moore <matches@ucc.asn.au>
Tue, 29 Jan 2013 10:12:05 +0000 (18:12 +0800)
committerSam Moore <matches@ucc.asn.au>
Tue, 29 Jan 2013 10:12:05 +0000 (18:12 +0800)
commit877034f05346e24fdf822f6e6149ad50d891f030
tree2627fa3598854a210d8032e5892ede4e3828ca99
parent521b6fc0521aa0fb9fef52ec2778474887fad12f
Progress?

- Fixed .dll files that were the wrong ones for cx_freeze win32
- Created "internal" agents, and made AgentBishop one of them
- Implemented terrible wrapper class that runs an internal agent in a seperate python process
  - This is for when timeouts are used
  - select == better than threads
  - TimeoutPlayer appears to not work properly anyway
- Tested win32 version (script and frozen binary)
  - ExternalAgent seems to break
  - TimeoutPlayer seems to break (even more than normal)
  - Pretty much everything breaks actually
    - More things seem to break with the frozen binary than with the script
    - Amazingly the pygame interface doesn't break, just the fancy threading/subprocess/socket/file related stuff
  - Somehow, the InternalAgents, ie: AgentBishop were working
  - So windows users can play the python sample agents, but otherwise the program is pretty useless

- Implemented the --log and --file arguments
  - Get an error if the game hasn't actually finished when using --file, should probably fix
    - It might be cool to let people use --file for a set number of moves, and then continue play from that position
      - Would need more work...

- When graphics are disabled, the game still works
  - But I need to test it on a server that doesn't have pygame at all

TODO: Finish the qchess program and actually work on setting up the competition.
59 files changed:
agents/bishop.py
agents/win32_bishop.bat [deleted file]
qchess/Makefile
qchess/build/exe.linux-x86_64-2.7.zip
qchess/build/exe.win32-2.7.zip
qchess/data/help.txt
qchess/data/images/black_bishop.png [new file with mode: 0644]
qchess/data/images/black_bishop_small.png [new file with mode: 0644]
qchess/data/images/black_king.png [new file with mode: 0644]
qchess/data/images/black_king_small.png [new file with mode: 0644]
qchess/data/images/black_knight.png [new file with mode: 0644]
qchess/data/images/black_knight_small.png [new file with mode: 0644]
qchess/data/images/black_pawn.png [new file with mode: 0644]
qchess/data/images/black_pawn_small.png [new file with mode: 0644]
qchess/data/images/black_queen.png [new file with mode: 0644]
qchess/data/images/black_queen_small.png [new file with mode: 0644]
qchess/data/images/black_rook.png [new file with mode: 0644]
qchess/data/images/black_rook_small.png [new file with mode: 0644]
qchess/data/images/black_unknown.png [new file with mode: 0644]
qchess/data/images/black_unknown_small.png [new file with mode: 0644]
qchess/data/images/white_bishop.png [new file with mode: 0644]
qchess/data/images/white_bishop_small.png [new file with mode: 0644]
qchess/data/images/white_king.png [new file with mode: 0644]
qchess/data/images/white_king_small.png [new file with mode: 0644]
qchess/data/images/white_knight.png [new file with mode: 0644]
qchess/data/images/white_knight_small.png [new file with mode: 0644]
qchess/data/images/white_pawn.png [new file with mode: 0644]
qchess/data/images/white_pawn_small.png [new file with mode: 0644]
qchess/data/images/white_queen.png [new file with mode: 0644]
qchess/data/images/white_queen_small.png [new file with mode: 0644]
qchess/data/images/white_rook.png [new file with mode: 0644]
qchess/data/images/white_rook_small.png [new file with mode: 0644]
qchess/data/images/white_unknown.png [new file with mode: 0644]
qchess/data/images/white_unknown_small.png [new file with mode: 0644]
qchess/qchess.py
qchess/src/Makefile
qchess/src/agent_bishop.py [new file with mode: 0644]
qchess/src/game.py
qchess/src/graphics.py
qchess/src/main.py
qchess/src/player.py
qchess/src/timeout_player.py
qchess/win32_dll/SDL.dll
qchess/win32_dll/SDL_image.dll
qchess/win32_dll/SDL_mixer.dll
qchess/win32_dll/SDL_ttf.dll
qchess/win32_dll/jpeg.dll
qchess/win32_dll/libfreetype-6.dll
qchess/win32_dll/libogg-0.dll [new file with mode: 0644]
qchess/win32_dll/libpng12-0.dll
qchess/win32_dll/libtiff.dll [new file with mode: 0644]
qchess/win32_dll/libvorbis-0.dll [new file with mode: 0644]
qchess/win32_dll/libvorbisfile-3.dll [new file with mode: 0644]
qchess/win32_dll/portmidi.dll [new file with mode: 0644]
qchess/win32_dll/smpeg.dll
qchess/win32_dll/sqlite3.dll [new file with mode: 0644]
qchess/win32_dll/tcl85.dll
qchess/win32_dll/tclpip85.dll [new file with mode: 0644]
qchess/win32_dll/zlib1.dll

UCC git Repository :: git.ucc.asn.au