GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: In-game chat commands

completed by: flux2a

mentors: Andrey Korotaev, Xeli, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

Enable some commands while using engine chat: for example /quit to exit (you may want to just stop the game brutally with chForceQuit), /fullscreen to set the max window dimensions, /pause to pause the game, /bind for binding keys, /finish which would just have the game end by teleporting all hedgehogs out, then showing statistics (see chFinish).

Implementation can be done similarly to taunts, check hedgewars/uChat.pas to read how it has been done.


A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.