This video will demonstrate how you can use code in Minecraft to create a fully functioning game with eliminations, a simple user interface with signs and boards, as well as a victory condition.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.