config.py 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. from intelligine.core.Context import Context
  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.colored.colors_colonys import collections
  6. # TODO: influencer avec argument python
  7. from intelligine.sandbox.exploration.collections import collections
  8. config = {
  9. 'app': {
  10. 'name': 'StigEngine',
  11. 'classes': {
  12. 'Context': Context
  13. }
  14. },
  15. 'engine': {
  16. 'fpsmax': 2555,
  17. 'debug': {
  18. 'mainprocess': True,
  19. 'cycles': -1
  20. }
  21. },
  22. 'simulations' : [Simulation(collections)],
  23. 'connections': [Pygame],
  24. 'terminal': {
  25. 'pygame': {
  26. 'visualisation': pygame_visualisation,
  27. 'window_size': (800, 600),
  28. 'app': {
  29. 'name': 'SocialIntengine'
  30. },
  31. 'display': {
  32. 'grid': {
  33. 'size': 20
  34. }
  35. },
  36. 'font': {
  37. 'name': 'arial',
  38. 'size': 13
  39. },
  40. 'background': {
  41. 'color': (125, 125, 125)
  42. }
  43. }
  44. },
  45. 'ant': {
  46. 'take': {
  47. 'cant_put_still': 5
  48. }
  49. }
  50. }