Commit Graph

53 Commits

Author SHA1 Message Date
averel10
197d9e6e22 Refactor Clash component to use GameModal for game interactions, remove Hello World page, and implement toast notifications for error handling 2025-11-22 09:44:36 +01:00
averel10
3bd61490f1 update contract addresses in config files and enhance player move commitment handling 2025-11-21 18:42:43 +01:00
averel10
06176e74f2 update game logic and UI components for move selection and reveal phases; remove Lobby component 2025-11-21 18:18:59 +01:00
averel10
2d7dd6ccdb replace Lobby with GameList and update phase handling in Clash component 2025-11-21 17:39:30 +01:00
SamKry
322945f30c add getOutcome in reveal phase 2025-11-21 17:26:40 +01:00
SamKry
0ce1d0179c Merge pull request #9 from averel10/update-readme
update readme structure
2025-11-21 17:08:02 +01:00
SamKry
4062999aa6 update readme structure 2025-11-18 21:03:25 +01:00
SamKry
a0ff3db60d add icon to home page 2025-11-18 20:51:22 +01:00
SamKry
031bb340d7 add icons 2025-11-18 20:20:51 +01:00
SamKry
f113ed6042 use custom button component to rid all the css 2025-11-18 19:32:36 +01:00
SamKry
a82037a698 move state and functions to lobby component 2025-11-18 19:01:49 +01:00
SamKry
011708c24e move state and functions to reveal component 2025-11-18 18:58:08 +01:00
SamKry
04f8e66204 move state and functions to commit component 2025-11-18 18:55:38 +01:00
SamKry
4ec03d7cdb init contract frontent 2025-11-18 17:58:57 +01:00
github-actions[bot]
bd2ff2808e Update deployed contract address 2025-11-14 21:49:31 +00:00
averel10
15bf0155bb added subpages for helloworld and clash, added game contract to config.json for usage in frontend 2025-11-14 22:49:06 +01:00
github-actions[bot]
d3b512aa95 Update deployed contract address 2025-11-14 19:48:43 +00:00
SamKry
d67570da33 update version 2025-11-14 20:48:17 +01:00
SamKry
50d4fe7956 implement multi game mode and document it 2025-11-14 20:44:58 +01:00
SamKry
37bce9cb5d add first implementation of game contract 2025-11-14 19:35:58 +01:00
smaubio
bd97cc096d docs: add REQUIREMENTS.md 2025-11-14 14:17:02 +01:00
github-actions[bot]
a45b99e70f Update deployed contract address 2025-11-12 16:51:44 +00:00
averel10
a702c2f682 fix: correct capitalization of workflow name in deployment configuration 2025-11-12 17:50:52 +01:00
averel10
62581a807f fix: update step names for clarity in deployment workflow 2025-11-12 17:47:08 +01:00
averel10
d18e48bbc4 feat: add step to upload config.json as artifact in deployment workflow 2025-11-12 17:46:09 +01:00
averel10
d272e782e6 Merge branch 'main' of https://github.com/averel10/crypto_clash 2025-11-11 22:40:11 +01:00
averel10
14f3cf305c docs: clarify proxy hosting details in README 2025-11-11 22:40:08 +01:00
github-actions[bot]
0a0356df77 Update deployed contract address 2025-11-11 21:39:40 +00:00
averel10
1637139118 docs: update README and config.json for production API_URL and deployment instructions 2025-11-11 22:38:27 +01:00
averel10
f10da70c48 feat: automate config.json copying and update dependencies
- Added a script (copy_config.js) to copy config.json from the root directory to the frontend's public directory before starting the development server, building, or starting the application.
- Updated package.json scripts to include the config copying step.
- Updated dependencies in package.json, including adding web3 and ensuring tailwindcss is included in devDependencies.
- Modified tsconfig.json to include a path for the config file.
- Added a new config.json file in the public directory with API_URL, CONTRACT_ADDRESS, and ABI details for the smart contract.
2025-11-11 21:48:56 +01:00
github-actions[bot]
fc31e5e2d1 Update deployed contract address 2025-11-11 20:09:33 +00:00
averel10
de4da85d55 Merge branch 'main' of https://github.com/averel10/crypto_clash 2025-11-11 21:08:57 +01:00
averel10
172c68226a fix: add workflow_dispatch trigger to backend and frontend deployment workflows 2025-11-11 21:08:55 +01:00
github-actions[bot]
c4e233a917 Update deployed contract address 2025-11-11 20:08:27 +00:00
averel10
1050897915 Merge branch 'main' of https://github.com/averel10/crypto_clash 2025-11-11 21:08:06 +01:00
averel10
91e24218aa fix: add actions permission to deploy_backend.yml 2025-11-11 21:08:03 +01:00
github-actions[bot]
916304a463 Update deployed contract address 2025-11-11 20:06:49 +00:00
averel10
b97691d190 Merge branch 'main' of https://github.com/averel10/crypto_clash 2025-11-11 21:06:30 +01:00
averel10
986350a16e fix: add GITHUB_TOKEN environment variable for frontend deployment trigger 2025-11-11 21:06:27 +01:00
github-actions[bot]
7c9e48c248 Update deployed contract address 2025-11-11 20:03:39 +00:00
averel10
bd8c853715 fix: add permissions section to deploy_backend.yml for write access 2025-11-11 21:03:12 +01:00
averel10
44bc814114 feat: initialize crypto_clash_contract with TypeScript, Hardhat, and deployment script
- Added package.json with scripts for compiling, deploying, and testing the contract.
- Created deploy.ts script for deploying the HelloWorld contract and saving the contract address to config.json.
- Configured TypeScript with tsconfig.json for Node.js environment and ES module support.
2025-11-11 21:01:16 +01:00
averel10
b27ae2dc5d fix: add .node_modules to .gitignore to exclude local node modules from version control 2025-11-11 21:01:07 +01:00
averel10
706007db7a fix: update image source paths in Home component and remove assetPrefix from Next.js config 2025-11-11 20:15:26 +01:00
averel10
7cf8e65486 fix: remove distDir from Next.js configuration 2025-11-11 20:06:48 +01:00
averel10
3b44333752 fix: update Next.js configuration for assetPrefix and distDir 2025-11-11 20:05:09 +01:00
averel10
b253a4038f fix: correct npm command formatting in GitHub Actions workflow and add basePath to Next.js config 2025-11-11 20:02:03 +01:00
averel10
43496589ce update build step to install dependencies before building with Next.js 2025-11-11 19:58:37 +01:00
averel10
a6623655b9 update Node.js setup action to version 6 in GitHub Pages workflow 2025-11-11 19:57:38 +01:00
averel10
b18b9b39e7 update branch name from master to main in GitHub Pages workflow 2025-11-11 19:56:27 +01:00