r/C_Programming • u/encephalopatyh • Oct 27 '20
Discussion Simple project ideas using C?
What kind of project could you suggest for a beginner that could be done within 1 to 2 weeks? We are tasked to create a simple standalone program which asks for data that could be stored, edited, deleted, and such. Examples I found are hospital management system, restaurant menu, diaries, and such, but I find them pretty common and there are a lot of them out there. Could you help me with some ideas that are of the same difficulty as I mentioned and not very common?
73
Upvotes
View all comments
Show parent comment
4
u/PlayboySkeleton Oct 28 '20
It's more of a cli program, but there is no reason why you couldn't do a gui for it (its just harder).
Speeds can be random. Usually you simulate the race by running random dice roles for each horse to determine how far to advance them down the track.
Just set the track to a certain length, then loop and check if any horses made it.
"speeds" of a horse can be some weight that you apply to the dice role so that the horse is more likely to roll higher.