diff --git a/data.py b/data.py index dea4584..4e4e7ff 100644 --- a/data.py +++ b/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 . +# ''' I could use SQLite for a data file format, or just pickle. ''' diff --git a/poisson.py b/poisson.py index 3582afe..e8d602f 100644 --- a/poisson.py +++ b/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 . +# ''' Poisson Distribution ''' diff --git a/server.py b/server.py index 03eb61f..dff7f63 100644 --- a/server.py +++ b/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 . +# from random import randint, expovariate, seed from data import save from poisson import poisson diff --git a/ui.py b/ui.py old mode 100644 new mode 100755 index 5e1f69b..3fc8002 --- a/ui.py +++ b/ui.py @@ -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 . +# from tkinter import * -from PIL import Image -from PIL.ImageTk import PhotoImage from data import load