eiffel-2048's People
Forkers
manefelice221187 fedebono fmunoz92 aechaves ggiovannini nico88 maxcej matias-bernal lucianoit10eiffel-2048's Issues
Missing class TEST_CONTROLLER_2048
Method up not implemented in Class Controller_2048
two_potency method not implemented in Class CELL_2048
The method returns true if a given integer value is a power of two.
Method make_with_board in class CONTROLLER_2048 not implemented
The constructor that creates a controller using a board as an argument is not implemented
Missing features/acceptance tests for basic movements (up)
Features and corresponding acceptance tests for basic game movements must be created. Features description must match Gherkin's syntax; corresponding acceptance tests (in the syntax of Eiffel's Autotest) must also be provided. This issue corresponds solely to the movement to up.
Change to "obsolete" in the class CELL_2048
Change the feature "get_value" to obsolete and put a coment with the correct usage.
Method set_value in class CELL_2048 hasn't got tests.
The tests should check that this method only allow store in the cell a value which is a power of two distinct to 1 or is 0.
Missing features/acceptance tests for basic movements (left)
Features and corresponding acceptance tests for basic game movements must be created. Features description must match Gherkin's syntax; corresponding acceptance tests (in the syntax of Eiffel's Autotest) must also be provided. This issue corresponds solely to the movement to the left.
Constructor_with_value in Class CELL_2048 hasnt got tests
Syntax error in BOARD_2048
Method set_random not implemented in Class Controller_2048
Method that set 2 in board in random position
Missing class TEST_CELL_2048
Missing class CONTROLLER_2048
Missing class CONTROLLER_2048
. This class must be created, initially only with routines up
, down
, left
and right
(commands with no parameters).
Method make_empty in class BOARD_2048 is not implemented
The constructor that creates an empty board (for testing purposes) is not implemented.
Missing features/acceptance tests for basic game initialisation
Features and corresponding acceptance tests for basic game initialisation must be created. Features description must match Gherkin's syntax; corresponding acceptance tests (in the syntax of Eiffel's Autotest) must also be provided.
Missing features/acceptance tests for basic movements (down)
Features and corresponding acceptance tests for basic game movements must be created. Features description must match Gherkin's syntax; corresponding acceptance tests (in the syntax of Eiffel's Autotest) must also be provided. This issue corresponds solely to the movement to down.
Contracts for the methods 'get_value' and 'is_available' in class CELL_2048
This features hasn't contracts.
Method available_cells not implemented in class BOARD_2048
All available cells.
Default constructor in Class CELL_2048 hasnt got tests
Method set_value not implemented in class CELL_2048
The mothod set_value in class CELL_2048 has not been implemented. This method update the value of a cell with a given value.
Constructors not impemented in Class CELL_2048
Class CELL_2048 hasn't contructors. The constructor should be implemented with respectives tests.
Class NEW_TEST_SET must be given a meaningful name
Class NEW_TEST_SET's name is inadequate. It does not indicate clearly its purpose nor what it contains.
initialise_board method not implemented in Class BOARD_2048
Method initialise in class BOARD_2048 hasnt tests
Empty implementation of class CELL_2048
Class CELL_2048 has an empty implementation. A proper data structure to capture the cell's state must be defined, and appropriate routines to access and query the state.
Class APP_2048 unconnected from CONTROLLER_2048
According to our basic design, APP_2048 manages a CONTROLLER_2048 instance. This is missing in the implementation.
Separate cluster must be created for test sets
A separate cluster, for the test sets, must be created, to have files better organised.
Method available_cells in class BOARD_2048 hasnt got tests
Missing features/acceptance tests for basic movements (right)
Features and corresponding acceptance tests for basic game movements must be created. Features description must match Gherkin's syntax; corresponding acceptance tests (in the syntax of Eiffel's Autotest) must also be provided. This issue corresponds solely to the movement to the right.
Too general name for class `APPLICATION`
Class APPLICATION
should be renamed to something like APP_2048
.
`CONTROLLER_2048` unconnected from `BOARD_2048`
According to our basic design, class CONTROLLER_2048
should have an attribute of class BOARD_2048
.
Missing class TEST_BOARD_2048
This test class for the class BOARD_2048, this check all features of the class
Syntax error in class BOARD_2048
End of class missing. Class does not compile. I'm assigning this issue to nico88 (responsible according to Git).
Unnecessary features: lines and columns in BOARD_2048
The board is always 4x4, so keeping track of those values is innecessary. Removing this will break the tests, so I leave this issue to those who wrote the test in TEST_BOARD_2048 so they can change their assertions acordingly.
Contracts of set_cell feature in the BOARD_2048 class
missing contracts of set_cell feature in the BOARD_2048 class and check the ensure clausule of feature make, adding element /= Void
Obsolete creation keyword in class BOARD_2048
Creation section in class BOARD_2048 is defined using obsolete keyword 'creation'. It must be replaced by 'create'. I'm assigning this issue to nico88, who according to Git is who introduced it.
Method value not implemented in CELL_2048
The routine that returns the value of the cell is missing.
Method set_cell not implemented in class BOARD_2048
Wrong representation for `BOARD_2048.elements`
The representation of BOARD_2048.elements
should be through a 2-dimensional array, instead of an array of arrays.
Constructors not impemented in Class BOARD_2048.
Class BOARD_2048 hasn't contructor. The constructor should be implemented.
Default constructor in class CONTROLLER_2048 hasn't got tests
Implement routine make@CELL_2048
Routine make in class CELL_2048 is not implemented. This routine must be implemented, possibly equipped with a corresponding contract (pre and postcondition). This issue also includes the definition of tests to exercise this routine, that must comply with statement coverage.
Auxiliary routines, if necessary, must be private. Tests must be given clear names that illustrate what is being measured. Tests for this routine must be put into folder/cluster tests/cell_2048/make_at_cell_2048.e
Method is_available not implemented in class CELL_2048
is_available means that the cell contains zero.
Inappropriate files in repository (folders Disenio and practico_git_IS)
There are two folders in the repository that have nothing to do with the development. Please remove these.
Empty implementation of class CONTROLLER_2048
Class CONTROLLER_2048 has an empty implementation. This class must have the control of the board of the game and methods capables of representing the moves (up, down, right or left) on the board.
Missing invariant class of class CELL_2048
This class can have an invariant to check the correct implementation of this.
Constructor_with_value not impemented in Class CELL_2048
Default constructor not impemented in Class CELL_2048
Method is_available in class CELL_2048 hasnt got tests
Contracts for the method set_value in class CELL_2048 has not been implemented
The method set_value in class CELL_2048 has not contracts. They should not allow change the value of a cell with an integer which isn't a power of two or is 1.
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.