Open Cheelax opened 3 weeks ago
Hi @Cheelax can I work on this? I’ve gone through the task description and I’m open to work on it. I’d make sure to meet up with the expected criteria. And I will deliver within 3 to 4 working days.
Here is how I would work on the issue: I’d define an interface that encapsulates all game state properties as stated in the description. Then using react, I’d create and manage a centralize state of the game logic. I’d create a custom hook to manage the game state and provide the methods to manipulate the state. I would make sure to break down the code into smaller components that will focus on specific part of the game state and UI making it easier to manage and test. I will integrate an animation system and also implement an event system for the game. I would separate concerns into distinct files for better code organization. Finally, I will carry out unit testing to ensure all functionalities work as expected and I’d write new tests if need arises. And also regression testing to ensure the game behaves as before refactoring.
Hi @Cheelax , can I be assigned this please?
I would love to work on this issue @Cheelax
@Cheelax Can this be assigned to be?
Hi @Cheelax i will love to be assigned this issue. I'm a frontend and blockchain developer and this is the following ways inwhich i could solve this issue:
To refactor the GameBoard component:
Centralize Game State: Define a GameState interface and manage state using context or state management.
Create a Custom Hook: Move game logic to useGameLogic for state manipulation and game rules.
Modularize Components: Break GameBoard into smaller components like ScoreDisplay and Grid.
Add Animations: Use React Spring or Framer Motion for animated game elements.
Implement Event System: Use a game event context for component interactions.
Organize Code: Separate logic into distinct files for clarity.
Test Thoroughly: Ensure functionality and add new tests as do needed.
I am applying to this issue via OnlyDust platform.
i'm a fullstack dev and i have skills in react, typescript, next.js, tailwind, sass, boostrap etc. i would love to work on this i i'm giving the oppotunity
Create Centralized GameState: Define a GameState interface to store all game state data. Develop Game Logic Hook: Move most game logic into a custom hook, useGameLogic. Divide GameBoard: Create smaller components for ScoreDisplay, BonusPanel, Grid, NextLineDisplay, etc. Integrate Animation System: Use React Spring or Framer Motion for animations. Implement Event System: Use a game event context to manage component interactions. Separate Concerns: Create separate files for different parts of the game logic. Test New Implementation: Ensure all functionalities work correctly and add new unit tests.
I am applying to this issue via OnlyDust platform.
Hi, please I'd love to be given the opportunity to contribute to this rep, I am a blockchain developer html, css, react, JavaScript, typescript, solidity and Cairo. I'd love to be given the opportunity to contribute to this repo
To solve this issue, I'd take the following steps:
I am applying to this issue via OnlyDust platform.
Hi @Cheelax can I work on this? I'm a frontend smart contract developer and I've contributed to projects here on onlydust. with this experience, I'd implement the task as expected I’ve gone through the task description and I’m open to work on it. I’d make sure to meet up with the expected criteria. And I will deliver within 3 to 4 working days.
Here is how I would work on the issue: I’d define an interface that encapsulates all game state properties as stated in the description. Then using react, I’d create and manage a centralize state of the game logic. I’d create a custom hook to manage the game state and provide the methods to manipulate the state. I would make sure to break down the code into smaller components that will focus on specific part of the game state and UI making it easier to manage and test. I will integrate an animation system and also implement an event system for the game. I would separate concerns into distinct files for better code organization. Finally, I will carry out unit testing to ensure all functionalities work as expected and I’d write new tests if need arises. And also regression testing to ensure the game behaves as before refactoring.
I am applying to this issue via OnlyDust platform.
i'm a fullstack dev and i have skills in react, typescript, next.js, tailwind, sass, boostrap etc. i would love to work on this i i'm giving the oppotunity
Create Centralized GameState: Define a GameState interface to store all game state data. Develop Game Logic Hook: Move most game logic into a custom hook, useGameLogic. Divide GameBoard: Create smaller components for ScoreDisplay, BonusPanel, Grid, NextLineDisplay, etc. Integrate Animation System: Use React Spring or Framer Motion for animations. Implement Event System: Use a game event context to manage component interactions. Separate Concerns: Create separate files for different parts of the game logic. Test New Implementation: Ensure all functionalities work correctly and add new unit tests.
I am applying to this issue via OnlyDust platform.
Hi @Cheelax
I’m available to take on the task of refactoring the GameBoard component to enhance its structure, modularity, and suitability for animation. My name is Benjamin, and I have extensive experience with TypeScript and frontend development, including refactoring and optimizing complex UI components.
The current GameBoard component is monolithic and challenging to maintain, especially as the game logic and UI grow more complex. Refactoring the component will improve the codebase’s structure, making it more modular and easier to extend, and will facilitate smooth animations.
GameState
interface that includes all aspects of the game’s state, such as the grid, score, combo, bonuses, etc.movePiece
, applyGravity
, and clearLines
.ScoreDisplay
, BonusPanel
, Grid
, NextLineDisplay
, etc.I am applying to this issue via OnlyDust platform.
Hello @Cheelax I am Joseph Chimebuka I'm a full-stack software developer with 4+ years of experience in crafting innovative products. I've built a range of projects, including https://mattedsgn.vercel.app/ and https://metacrypt.vercel.app/ showcasing my expertise in React, Next.js, and blockchain technologies. I'm also an active contributor onlydust. here's my account https://app.onlydust.com/u/josephchimebuka.
I will ensure that the acceptable criteria for submission has been met before sending a pull PR and I will send it ASAP
Hi everyone. There is a new process for the ODHack, now you must apply to the tasks directly from Onlydust: https://app.onlydust.com/hackathons/odhack-70 We will only look at application made via this process.
The maintainer Cheelax has assigned od-hunter to this issue via OnlyDust Platform. Good luck!
Hello @Cheelax , please i would love to work on this issue
Hey @Dprof-in-tech! Thanks for showing interest. We've created an application for you to contribute to zKube. Go check it out on OnlyDust!
Hi @Cheelax
Hi @Cheelax can I work on this? I’ve gone through the task description and I’m open to work on it. I’d make sure to meet up with the expected criteria. And I will deliver within 3 to 4 working days.
Here is how I would work on the issue: I’d define an interface that encapsulates all game state properties as stated in the description. Then using react, I’d create and manage a centralize state of the game logic. I’d create a custom hook to manage the game state and provide the methods to manipulate the state. I would make sure to break down the code into smaller components that will focus on specific part of the game state and UI making it easier to manage and test. I will integrate an animation system and also implement an event system for the game. I would separate concerns into distinct files for better code organization. Finally, I will carry out unit testing to ensure all functionalities work as expected and I’d write new tests if need arises. And also regression testing to ensure the game behaves as before refactoring.
Hi @Cheelax can I work on this?
Description: We need to refactor the GameBoard component to improve its structure, make it more modular, and more suitable for animation. The goal is to have a more maintainable and extensible codebase for our game.
Tasks to accomplish:
Acceptance Criteria:
Feel free to discuss this refactoring in the comments if you have any questions or additional suggestions.