copyright notice
This commit is contained in:
parent
e4020119e7
commit
25e5723661
19
data.py
19
data.py
|
|
@ -1,3 +1,22 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright © 2024 Simon Forman
|
||||||
|
#
|
||||||
|
# This file is part of game
|
||||||
|
#
|
||||||
|
# game is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# game is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with game. If not see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
'''
|
'''
|
||||||
I could use SQLite for a data file format, or just pickle.
|
I could use SQLite for a data file format, or just pickle.
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
19
poisson.py
19
poisson.py
|
|
@ -1,3 +1,22 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright © 2024 Simon Forman
|
||||||
|
#
|
||||||
|
# This file is part of game
|
||||||
|
#
|
||||||
|
# game is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# game is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with game. If not see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
'''
|
'''
|
||||||
Poisson Distribution
|
Poisson Distribution
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
19
server.py
19
server.py
|
|
@ -1,3 +1,22 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright © 2024 Simon Forman
|
||||||
|
#
|
||||||
|
# This file is part of game
|
||||||
|
#
|
||||||
|
# game is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# game is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with game. If not see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
from random import randint, expovariate, seed
|
from random import randint, expovariate, seed
|
||||||
from data import save
|
from data import save
|
||||||
from poisson import poisson
|
from poisson import poisson
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,24 @@
|
||||||
from fractions import Fraction as ratio
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Copyright © 2024 Simon Forman
|
||||||
|
#
|
||||||
|
# This file is part of game
|
||||||
|
#
|
||||||
|
# game is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# game is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with game. If not see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
from PIL import Image
|
|
||||||
from PIL.ImageTk import PhotoImage
|
|
||||||
|
|
||||||
from data import load
|
from data import load
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue