Defense on 11th November 2020
Idea for ISING class:
class ISING:
get_state():
update():
set_params(temperature, field, connection_strength):
get_params():
Idea of game:
- lvling up is possible
- goal is to reproduce given spin combination in the centre
- starts with task to align one spin, first up then down, then 2, and so on
- this makes for increasing complexity
Install the packages with pip
pip install .
And run the tests to check if the installation has worked
nosetests
- Identify a task to.
- Make local branch to track the changes. Push the changes to a remote branch on GitHub.
- For style-consistency use pycodestyle and for linting (e.g. detecting bugs and codesmells) use pylint.
- If you think you are ready, make a pull request on GitHub. Github will automatically run the testing worlflows to detect bugs, check style and to run the tests.
- If all is green merge the changes on Github and remove the branch you used for development.
To easily check your current change before committing use the pre-commit
hook in the root folder.
For default checking, use ln -sv ../../.hook_precommit .git/hooks/pre-commit
(possibly make it executable with chmod u+x .hook_precommit
.
Testing is done with nosetest. For an example see the existing tests in the tests folder.
We use a tft touch-screen for the visualization:
Type | 2.4inch SPI Module ILI9341 SKU |
---|---|
Screen | TFT touch-screen |
color | RGB 65K |
Resolution | 320Wx240H |