1. PythonOrgGr
  2. ceid_battle
  3. Issues
Issue #18 open

Separate gameover screen

Anonymous created an issue

A separate gameover screen would be more close to the arcade style of the game. The score of the finished game could be displayed there.

Comments (4)

  1. Dimitris Leventeas

    The winner of the game is getting displayed. Please provide more feedback about the desired form of the game over screen.

    The dominating idea so far is to sort all player based on their score and display them after the end of the game.

  2. Anonymous

    Unfortunately I am unable to see the gameover screen because the game terminates immediately after a round ends.

    Game run in Windows XP and the cmd screen after termination is:

    Traceback (most recent call last):
      File "ceid-battle", line 13, in <module>
        game.main()
      File "C:\Documents and Settings\Filippos Soulakis\Desktop\ceid_battle\game.py", line 261, in main
        ceid_battle(main_clock, display, event)
      File "C:\Documents and Settings\Filippos Soulakis\Desktop\ceid_battle\game.py", line 197, in ceid_battle
        if display.gameover_screen(main_clock, event, p):
      File "C:\Documents and Settings\Filippos Soulakis\Desktop\ceid_battle\screen.py", line 697, in gameover_screen
        win_message = 'The winner is ' + self.winner(p) + '!'
      File "C:\Documents and Settings\Filippos Soulakis\Desktop\ceid_battle\screen.py", line 674, in winner
        msg = winner_name + ' : ' + winner_score + '\n'
    TypeError: coercing to Unicode: need string or buffer, int found
    
  3. Dimitris Leventeas

    I take full responsibility for the error. Due to hastiness, I didn't check thoroughly the committed version. Bug is fixed at the latest version (the lines with msg are redudant).

    The new feature should be properly displayed now.

  4. Log in to comment