pyhockey's People
pyhockey's Issues
Create unittests for PhysicsObject class
- New file in tests folder
- I think we should test all methods
- Remember - you can create few tests for one method - to simulate all cases - too small tests are better than too big
Create Mallet class
+If you are not sure what this class should contain take a look at https://github.com/KaRi94/PyHockey/wiki/Podzia%C5%82-na-poszczeg%C3%B3lne-klasy, but feel free.
+Provide some nicely developed images for Mallets (red/blue).
+Remember about setters and getters.
+If there is anything impossible to implement due to lack of others classes just leave comment TODO and do it when project becomes more clear.
Create Disc class
+If you are not sure what this class should contain take a look at https://github.com/KaRi94/PyHockey/wiki/Podzia%C5%82-na-poszczeg%C3%B3lne-klasy, but feel free.
+Find some nicely developed image for Disc.
+If there is anything impossible to implement due to lack of others classes just leave comment TODO and do it when project becomes more clear.
+Remember about setters and getters.
Create initial documentation + description of project
Create Game Physics
+If you are not sure what these classes should contain take a look at https://github.com/KaRi94/PyHockey/wiki/Podzia%C5%82-na-poszczeg%C3%B3lne-klasy, but feel free.
Adjust Goal + detect collisions
Adjust goal size:
Add goal width:
Goal center: (pitch_x_max+pitch_x_min)/2
Goal should exist from goal_center-width/2 to goal_center+width/2
Collision bug.
We have talked about it. You saw it. It's funny but game is not playable :)
Create Player and ScoreBoard classes
+If you are not sure what these classes should contain take a look at https://github.com/KaRi94/PyHockey/wiki/Podzia%C5%82-na-poszczeg%C3%B3lne-klasy, but feel free.
+Remember about setters and getters.
+For now Scoreboard doesn't have to be beautiful, just usable.
+If there is anything impossible to implement due to lack of others classes just leave comment TODO and do it when project becomes more clear.
Create unittests for Mallet, Disc classes
Mallet and Disc don't have many methods. Moreover they aren't complilated so it should be easy.
You can for example create tests for accelerate, load_image, move_to.
Add docstrings for every important method.
Create unittests for Vector class
- Create TestVector.py file in tests folder
- Create unittests for nontrivial methods such as cross, normalized, angle etc.
- If it is needed use mocks
Create a Pitch and Goal classes.
+If you are not sure what these classes should contain take a look at https://github.com/KaRi94/PyHockey/wiki/Podzia%C5%82-na-poszczeg%C3%B3lne-klasy, but feel free.
+Find some nicely developed background for Pitch (horizontally).
+Barriers of pitch should be smaller than background because we also want display Scoreboard and small camera image.
+I think it would be good if goals barriers were little inside the pitch.
+There should be method which allows to draw it
Capture image from the camera and display it
Also try to detect object by it's colour. We can assume that it will be red or blue object.
Create useful drawing tool
Prepare high-quality graphics.
Background should be transparent.
Although You don't have to worry about image size (we can use transform.scale), remember about proper aspect ratio.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.