(Primitive) Ice Hockey Simulator

Discuss anything related to hockey games / gaming or online hockey games in this forum; such as EA Sports NHL series and Wolverine Sports' Faceoff Hockey. Are you working on a new hockey game? Feel free to post about it in here!
Post Reply
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

(Primitive) Ice Hockey Simulator

Post by A9L3E »

Long story short, I started learning Python some time ago, and decided to make a small simulator with it. Basically, all it does is generates match results based on some user-defined values.

You can download the code here. To use it, just copy-paste the file's contents to a Python interpreter, such as this one, and click on "run".

NOTE: Do not use special letters for team names, as it will result in a crash. Other than that, the program should be bug-free.

I intend to expand on it as my skills get better. Next step would be making a league that can simulate a regular season.
User avatar
Thomaxius
Prospect
Posts: 62
Joined: Fri Jan 29, 2016 11:14 pm
Favourite Team: Porin Ässät

Re: (Primitive) Ice Hockey Simulator

Post by Thomaxius »

Very nice. Mainly cause I've also coded things in python, and cause I'm an addict when it comes to counting things and probabilities and statistics in general, lol.
Post Reply