-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
62 lines (50 loc) · 1.89 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Trumpy Bird
[Link to Live Site](https://michaeljpark93.github.io/trumpy_bird)
Trumpy Bird is a parody of the notorious Flappy Bird game developed with JavaScript and HTML5 Canvas. The objective of the game is to avoid obstacles by jumping through the openings.
The project was designed and built within a one-week timeframe.
![alt text][logo]
[logo]: https://github.com/michaeljpark93/trumpy_bird/tree/master/assets/README/start_page.gif
## Features
### Board Creating and Binging
Boards are a way for users to make collections of their favorite binges. Boards can categorized for easy organization and search. A single modal component can be used for all binge/board-related tasks:
```js
function Modal({modal, closeModal}) {
if (!modal) {
return null;
}
let component;
switch (modal) {
case 'createBoard':
component = <BoardFormContainer cancel={closeModal}/>;
break;
case 'editBoard':
component = <BoardUpdateContainer cancel={closeModal}/>;
break;
case 'createBinge':
component = <BingeFormContainer cancel={closeModal}/>;
break;
case 'editBinge':
component = <BingeUpdateContainer cancel={closeModal}/>;
break;
case 'createBinging':
component = <BingingFormContainer cancel={closeModal}/>;
break;
default:
return null;
}
return (
<div className="modal-background" onClick={closeModal}>
<div className="modal-child" onClick={e => e.stopPropagation()}>
{ component }
</div>
</div>
);
}
```
### Adaptive Feed
The discover feed dynamically adapts to display all binges in an aesthetic manner through a masonry layout. The number of columns are calculated based on screen size and can accommodate a variety of devices.

## Possible future features
* Search
* Private Boards
* Likes