Advertisement

Develop a Football Manager-type game in C#

Started by August 02, 2018 02:54 PM
2 comments, last by Jaap85 6 years, 6 months ago

Hi everyone !

I would like to develop a Football Manager-type game in C# and I have a few questions.

I developed in a few object-oriented languages before and I'd like to continue that way. Obviously, each and every entity of my game will be a class (Players, Teams, ...) but should I pair my game with a database (SQL database more likely) ? If I do, how can I make sure that the game is playable by anyone? Is a .sql file in my repository all I need?

Also, I looked for a framework to build my game in 2-D but it seems like XNA/Monogame or Unity are a bit complicated or inappropriate for the type a game I want to create. Should I stay with Windows Forms, or is there a framework more adapted to my needs?

 

Thanks for your answers !

Hi LeSmou,

are you planning to support multiplayer?

Are all players on one computer or playing over the network/internet?
Do you expect the players to be online for the whole game?
Or is it more like a browser game, where every player makes his moves sometime during the day and after some time the results are calculated?


SQL/Database:

A databased is used to store data. So the first question is, what data do you wish to store and from where do you want to have access to it?

E.g. a offline game can store it's states (savegames, player settings etc.) in any form you wish. You could just wirte a file to the disk.
Regarding the sql-file: sql-files are usually used to store information on modfication of realational databases. So, no, don't use this to save data locally on a computer. See: https://fileinfo.com/extension/sql

And: https://en.wikipedia.org/wiki/Relational_database_management_system for an overview how databases are used.

If you plan to release your game i would advise against directly connecting to a database server. Use a webservice for that. (see: https://en.wikipedia.org/wiki/Web_service)

 

C'/WIndows Forms:

Windows Forms is way to implement such a game. Another approach would be a browser based game (also possible to write in C#).

Maybe you could provide some additional information how you want your game to be played?

Advertisement

Hi Lesmou,

Sounds like a nice game idea! I have always wanted to develop a Football Manager-like game myself and also have some experience in C# and MonoGame. Let me know if I can help or if you want to join up together.

Anyway, best of luck!

Cheers,

Jaap

My personal blog on game development!

Black Wolf Game Development

This topic is closed to new replies.

Advertisement