config.py 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. from xyzworld.Context import Context as XyzContext
  2. from intelligine.synergy.Simulation import Simulation
  3. from intelligine.display.Pygame import Pygame
  4. from intelligine.display.pygame.visualisation import visualisation as pygame_visualisation
  5. from intelligine.sandbox.redblue.red_blue_colonys import collections
  6. config = {
  7. 'app': {
  8. 'name': 'StigEngine',
  9. 'classes': {
  10. 'Context': XyzContext
  11. }
  12. },
  13. 'engine': {
  14. 'fpsmax': 5,
  15. 'debug': {
  16. 'mainprocess': True,
  17. 'cycles': -1
  18. }
  19. },
  20. 'simulations' : [Simulation(collections)],
  21. 'connections': [Pygame],
  22. 'terminal': {
  23. 'pygame': {
  24. 'visualisation': pygame_visualisation,
  25. 'window_size': (800, 600),
  26. 'app': {
  27. 'name': 'SocialIntengine'
  28. },
  29. 'display': {
  30. 'grid': {
  31. 'size': 20
  32. }
  33. },
  34. 'font': {
  35. 'name': 'arial',
  36. 'size': 13
  37. },
  38. 'background': {
  39. 'color': (125, 125, 125)
  40. }
  41. }
  42. }
  43. }