This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Matěj Konopík, FIT BUT, 2023. | |
from py2neo import Graph, Relationship, Node | |
from time import time | |
from enum import Enum | |
import zipfile | |
import tempfile | |
import os | |
import shutil | |
import csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Matěj Konopík, FIT BUT, 2023. | |
from py2neo import Graph, Relationship, Node | |
from time import time | |
from enum import Enum | |
import zipfile | |
import tempfile | |
import os | |
import shutil | |
import csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
# Initialize pygame | |
pygame.init() | |
# Window dimensions and grid size | |
window_size = (800, 800) | |
grid_size = 40 | |
num_rows = window_size[1] // grid_size | |
num_cols = window_size[0] // grid_size |