Prompt a simple way to visualize a certain logic.

For example, there is a field of 50x50 squares (or a hexagon). There are certain units on it, each occupying their own cell. Then, according to my logic, they will interact, and I want to see it.

Do not offer a Windows form, too narrowly.

Desirable 2d engine. Because 3D is not yet necessary and difficult.

  • Well, take any appropriate engine, at least unity3d, what's the problem? - DreamChild
  • > I want to see it. > Do not offer a Windows form, too narrow. You decide, checkered or go? The possibilities of WinForms for the described tasks are enough for you. - nitrocaster
  • Very much I will try to do this thing on WPF. I hope his opportunity is enough. Just there, graphically, everything is deplorable. And so I think that's enough for now. - Kimel

1 answer 1

Well, if you don’t read your predatory question, then how bad is it to use WPF to visualize the result of the algorithm? You will have a Grid with N Columns and M rows - representation, logic in the model.

I understand that you want to make a start for the future right away, but it makes sense to begin, IMHO, from simple to complex. Knowing how it should behave + having studied the basics of some 2D engine, this will be repeated quickly.

  • Thank you for giving clear answers. I think you are right, I’ve overclocked a lot)) I’ll try to do it on WPF, and then move it somewhere .. But I don’t understand much in WPF, in particular, how Grid works there and how to do it adequately to emulate playing field. I unfortunately did not find materials on this topic. - Kimel 3:51 pm
  • @Kimel, you can see my supercode here bitbucket.org/Veikedo/life.thegame/src Realization of the game "life". Just the grid is used f5.s.qip.ru/14Jj1hsY7.png - Veikedo
  • Thanks for the example, but unfortunately it does not work for me. He writes this: Error 3 Metadata file 'C: \ Users \ Kimel \ Desktop \ Veikedo-life.thegame-850c1d40fd4d \ Life.Game \ bin \ Debug \ Life.Logic.dll' could not be found C: \ Users \ Kimel \ Desktop \ Veikedo-life.thegame-850c1d40fd4d \ Life.CLI \ CSC Life.CLI And so on in all projects. Some Life.Logic.dll does not find. And the second error is Error 1 'Life.Logic.GameStateCalculator' does not implement the interface member System.IDisposable.Dispose () 'C: \ Users \ Kimel \ Desktop \ Veikedo-life.thegame-850c1d40fd4d \ Life.Game \ GameStateCalculator.cs 7 18 Life.Logic - Kimel