Skip to content

Commit

Permalink
FIX 2048 game UI change (#502)
Browse files Browse the repository at this point in the history
## Related Issue

[Cite any related issue(s) this pull request addresses. If none, simply
state "None”]
write issue no. here




## Description

[Please include a brief description of the changes or features added]

## Type of PR

- [ ] Bug fix
- [ ] Feature enhancement
- [ ] Documentation update
- [ ] Security enhancement
- [ ] Other (specify): _______________


check in issue by entering [X] in boxes

## Screenshots / Videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes]

## Checklist
- [ ] I have performed a self-review of my code.
- [ ] I have read and followed the Contribution Guidelines.
- [ ] I have tested the changes thoroughly before submitting this pull
request.
- [ ] I have provided relevant issue numbers, screenshots, and videos
after making the changes.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have followed the code style guidelines of this project.
- [ ] I have checked for any existing open issues that my pull request
may address.
- [ ] I have ensured that my changes do not break any existing
functionality.
- [ ] Each contributor is allowed to create a maximum of 4 issues per
day. This helps us manage and address issues efficiently.
- [ ] I have read the resources for guidance listed below.
- [ ] I have followed security best practices in my code changes.

check in issue by entering [X] in boxes
## Additional Context

[Include any additional information or context that might be helpful for
reviewers.]




## Contribution Guidelines

Thank you for considering contributing to our project! To ensure smooth
collaboration and effective contribution management, please adhere to
the following guidelines:

### Issue Creation

1. **Limit on Issues:**
- Each contributor is allowed to create a maximum of **4 issues per
day**. This helps us manage and address issues efficiently.

### Contribution Levels

2. **Basic Contributions:**
- This project is primarily focused on documentation. Most of the setup
has been completed, so contributors will generally need to work on basic
code tasks, such as writing tests.
   - For these tasks, issues will be assigned the **Easy** label.

3. **Acknowledging Hard Work:**
- If a contributor puts in significant effort on a task, the issue will
be upgraded to **Medium**. This is our way of recognizing and
appreciating extra effort.

4. **Feature Additions and Component Work:**
- Contributors working on new features or components using JSX/TSX will
be assigned a level based on the complexity and quality of their work.
- The more complex and valuable the contribution, the higher the level
assigned.

### Level Definitions

- **Easy:**
- Tasks are straightforward, such as fixing minor bugs, writing tests,
or making simple documentation updates.
- **Medium:**
- Tasks require more effort, such as addressing complex bugs, improving
existing features, or making substantial documentation improvements.
- **Hard:**
- Tasks are highly complex and involve significant new feature
development, major refactoring, or extensive contributions to the
project’s core components.

We look forward to your contributions and appreciate your effort in
helping us improve the project!
  • Loading branch information
dhairyagothi authored Jan 12, 2025
2 parents 0c71644 + 0a03675 commit 0a274bc
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 257 deletions.
38 changes: 19 additions & 19 deletions public/2048_game/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src ="script.js"></script>
<title>2048 Game</title>
</head>
<body>
<div class = "header">2048 Game</div>

<div class = "instructions">Instructions: Use arrow key to play. Refresh the page to restart.</div>

<div class = "scoreContainer">
<div class="scoreTitle">score</div>
<span id="score">0</span>
</div>

<div class ="grid"></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>2048 Game</title>
</head>
<body>
<div class="header">2048 Game</div>
<div class="instructions">Instructions: Use arrow keys to play. Refresh the page to restart.</div>
<div class="scoreContainer">
<div>Score: <span id="score">0</span></div>
</div>
<div class="grid"></div>
<div id="result"></div>
</body>
</html>
Loading

0 comments on commit 0a274bc

Please sign in to comment.