
In Progress
Posted
Paid on delivery
Project Brief: [login to view URL] Job Description:I have a fully functioning, single-player web-based board game that was generated using an AI LLM (Claude). The game runs completely in a single HTML file, but at 2,623 lines, it has become too monolithic and unmanageable for further feature [login to view URL] game uses standard HTML/CSS for the UI (no Canvas) and vanilla JavaScript for the [login to view URL] File Breakdown:~220 lines of HTML markup~93 lines of CSS~2,310 lines of Vanilla JavaScript (handles board resolver, play-by-play engine, stats, local persistence, and UI rendering). Scope of Work: 1. Deconstruct the Monolith: Separate the CSS, HTML, and JavaScript into their own distinct files. 2. Modularize the JavaScript: Split the 2,310 lines of JS into clean, ES6 modules based on concerns (e.g., separating the core engine logic, persistence/storage, and UI rendering/DOM manipulation). 3. Code Audit & Cleanup: Optimize redundant state management, ensure clean variable scoping, and fix any brittle "AI-written" code structures without breaking the existing game rules or logic. 4. Responsive Check: Ensure the standard HTML grid/layout scales smoothly across desktop and mobile browsers. Requirements: 1. Strong expertise in native Vanilla JavaScript (ES6+), semantic HTML5, and CSS3. 2. Proven experience refactoring legacy or tightly coupled codebase architectures into modular structures. 3. Experience dealing with AI-generated code quirks is a major plus. 4. Must provide clean, well-commented code. Helpful but not required: Understanding of Baseball and dice board games
Project ID: 40528456
133 proposals
Remote project
Active 4 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hi, I can help refactor your AI-generated board game from one 2,623-line HTML file into a clean, maintainable ES6 project structure without changing the existing gameplay behavior. I would separate HTML, CSS, and JavaScript, then split the JavaScript into modules such as game engine, resolver logic, state management, local storage, stats, UI rendering, and DOM events. After that, I would clean brittle AI-written patterns, reduce duplicated state handling, improve variable scoping, and check the responsive layout on desktop and mobile. The main thing here is preserving the current game logic while making future feature development easier. I would test the game before and after refactoring to confirm the same rules and flows still work.
$500 USD in 5 days
3.6
3.6
133 freelancers are bidding on average $444 USD for this job

Hi there, We understand you need to refactor and optimize a monolithic web-based board game code, which is currently too large and unmanageable for further development. The game uses standard HTML/CSS for the UI and vanilla JavaScript for the engine, and we see the need to separate the CSS, HTML, and JavaScript into distinct files and modularize the JavaScript into clean ES6 modules. Our team has strong expertise in Vanilla JavaScript (ES6+), semantic HTML5, and CSS3, and we've successfully refactored legacy codebases into modular structures in the past. For instance, we've worked on a complex project like the learning platform website for children, where we utilized PHP, WordPress, and custom design to create a seamless user experience. We're confident our experience will help us tackle the quirks of AI-generated code and optimize the game's performance. What is your expectation for the game's responsiveness across different devices and browsers, and are there any specific concerns you have regarding the refactoring process? Feel free to message us to discuss the details! — Webbook Studio
$480 USD in 10 days
9.1
9.1

Hi — Elias here from Miami. I see you’re looking to refactor and optimize your board game code. This involves improving performance while ensuring the code remains maintainable and scalable for future features. What usually matters most here is how the current architecture supports game state management and user interactions. A common issue is ensuring optimizations don’t compromise the game's logic or introduce bugs. The tricky part is balancing performance with the complexity of the game’s rules. My approach would start with assessing the existing codebase. I’d focus on identifying bottlenecks and restructuring components for better maintainability. Implementing automated tests would be a priority to ensure stability with each change, making future updates smoother. I’ve worked on similar projects, optimizing game engines and web applications, which led to significant performance improvements. A few questions to better understand the scope: Q1 – What specific performance issues are you currently facing with the code? Q2 – Are there any planned features we should consider during the refactor? Q3 – How often do you anticipate needing updates or new features post-refactor? Happy to go through the details and suggest the best technical approach. Looking forward to hearing from you.
$500 USD in 3 days
8.3
8.3

Hey there, I have carefully reviewed your project requirements. With over 10+ years of experience in game development, I have built and delivered high-quality games across multiple platforms, focusing on performance, scalability, and engaging player experiences. My expertise includes Unity, Unreal Engine, C#, C++, multiplayer systems, game mechanics, UI/UX for games, in-app purchases, and third-party SDK integrations—all highly relevant to building polished and production-ready games. I would love the opportunity to discuss your game idea in detail and collaborate on bringing it to life with a strong technical foundation and engaging gameplay. Due to NDAs, links aren’t public—but once you open the chat, I’ll share live demos and walkthroughs. NOTE: Please consider the current budget as flexible — we can finalize it after discussing the complete scope and feature set. Thanks & Regards, Kajal
$750 USD in 7 days
8.3
8.3

Hi, I've read your brief — refactoring + optimizing the code for your board game (I'll review the linked brief in full). This is squarely our wheelhouse at Global IT Vision. My approach: - Review the existing board-game codebase, then refactor for clean architecture, readability and maintainability without changing behaviour. - Optimize performance (game loop, state management, rendering) and tighten the rules/turn logic, with tests to lock in correctness. - Clear commits + a short write-up of what changed and why. I've posted scope questions on the board. Could we do a quick call to confirm the stack + priorities? — Muhammad Idrees / Global IT Vision Pvt. Ltd
$600 USD in 21 days
8.1
8.1

⭐⭐⭐⭐⭐ Improve and Modularize Your Web-Based Board Game Code ❇️ Hi My Friend, I hope you are doing well. I just reviewed your project details and see you are looking for someone to enhance your web-based board game. You don't need to look any further; Zohaib is here to help! My team has successfully completed over 50 similar projects for game development and optimization. I will separate your code into manageable parts, optimize it, and ensure it runs smoothly on all devices. ➡️ Why Me? I have 5 years of experience in JavaScript development, focusing on code optimization and modularization. My skills include HTML, CSS, and a strong understanding of game mechanics. I can ensure your game remains functional while enhancing its structure and performance. ➡️ Let's have a quick chat to discuss your project in detail. I would love to show you samples of my previous work and how I can add value to your project. I look forward to our conversation! ➡️ Skills & Experience: ✅ Vanilla JavaScript (ES6+) ✅ HTML5 ✅ CSS3 ✅ Code Refactoring ✅ Modular Programming ✅ Responsive Design ✅ Debugging ✅ State Management ✅ UI Rendering ✅ Game Development ✅ Performance Optimization ✅ Commented Code Waiting for your response! Best Regards, Zohaib
$350 USD in 2 days
7.7
7.7

Hi I can refactor your single-file web board game into a clean Vanilla JavaScript ES6 module architecture while preserving the current gameplay rules and UI behavior. The main technical problem is that AI-generated monoliths often mix engine logic, DOM rendering, state mutation, persistence, and event handling in ways that make future features risky to add. My solution would separate the project into semantic HTML5, CSS3, and focused JavaScript modules for game engine logic, board resolution, state management, localStorage persistence, UI rendering, and event wiring. I would audit the existing 2,310 lines of JavaScript to remove brittle scoping, duplicated state, hidden dependencies, and redundant functions without changing the dice/baseball board-game mechanics. I would also keep the code lightweight with native ES6 imports/exports, clear comments, predictable data flow, and no unnecessary framework overhead. For the responsive check, I would review the HTML grid and CSS layout so the game scales smoothly across desktop and mobile browsers. This type of refactor is exactly where strong Vanilla JS, DOM architecture, and legacy-code cleanup experience matter most. Thanks, Hercules
$500 USD in 7 days
7.1
7.1

Hello, System understanding: The game is a single HTML file (2.6k lines) combining markup, styling, and vanilla JS handling board logic, persistence, stats, and UI rendering. To enable feature growth, we need to split concerns into separate HTML, CSS, and ES6 modules while preserving exact gameplay. Technical approach: Extract CSS to its own file, keep HTML semantic, then refactor JS into modules: engine (board resolver, turn engine), storage (local persistence), UI (DOM rendering, event handling), and utils (stats). Use ES6 import/export, maintain global state via a central store or pub/sub, ensure pure functions where possible, and add linting. Core modules: Engine module manages board state and rules; Storage module abstracts getItem/setItem with versioning; UI module listens to events and updates DOM; Utils module computes stats and formatting; Main module orchestrates init and game loop. Relevant systems: Internal refactor of a 2k-line vanilla JS game into modular ES6 structure. Implementation strategy: First split CSS and HTML, then incrementally move JS into modules, testing after each step via manual playthrough; deliver a clean, commented codebase with a README; final responsive check on desktop/mobile. Questions: 1. Are there any specific browser support targets (e.g., IE11) we must maintain? 2. Should the refactored code retain the single-file delivery option for easy hosting, or is separate file serving acceptable? 3. Are there any existing build tools or preferences (e.g., ES modules via script type=module) we should follow? Regards, Rohit
$250 USD in 5 days
7.7
7.7

Hello, I understand you need a single-file vanilla JavaScript board game refactored into separate HTML, CSS, and ES6 modules while preserving the existing rules, board resolver, play-by-play engine, stats, persistence, and UI behavior. I have experience cleaning up legacy and tightly coupled JavaScript codebases, separating DOM rendering from core game logic, improving state management, organizing local storage utilities, fixing brittle generated-code patterns, and maintaining responsive HTML/CSS layouts. I will first audit the current 2,623-line file, then split it into a clean modular structure, remove duplication safely, verify gameplay parity, test desktop/mobile responsiveness, and deliver well-commented maintainable code. Q1: Can you provide the current single HTML file along with the Google Doc brief? Q2: Should the refactor use plain ES modules only, or are lightweight build tools acceptable? Q3: Do you have expected game-rule test cases to confirm no logic changes? Best regards.
$500 USD in 7 days
7.1
7.1

Hello! We can refactor your current web game into a clean modular solution for дальнейшего развития. 1. Can we discuss the attached brief here first? 2. Do you want the refactoring to preserve the current file-based setup, or can the project be restructured into a standard multi-file layout? — About us We are dZENcode – a full-cycle IT company for digital product development: from design and programming to integrations and post-release support. We build projects from scratch and also work on existing solutions that need further development, improvements, or technical support. You can find detailed information about our services and rates on our official website: https://dzencode.com. Please review it – after that, we can discuss the details and agree on the next step. ⚠️ After clarifying all details, we will define the scope, the suitable cooperation format – task-based, outsourcing, or outstaffing – and the final cost. Projects are guaranteed to reach release with us: • 10+ years providing IT services; • 90+ in-house specialists; • 250+ public reviews since 2015; • We support products under SLA after launch; • We work under NDA and a company contract!
$500 USD in 7 days
6.7
6.7

Hello There!!! ★★★★ (Refactor your AI-generated board game into a clean, modular, and maintainable ES6 codebase.) ★★★★ I carefully read your project and understand you have a fully working single-file board game that now needs to be restructured for easier maintenance and future feature development. I'll modularize the code without changing any game logic, while improving code quality and responsiveness across devices. ⚜ HTML, CSS & JS Separation ⚜ ES6 Module Refactoring ⚜ Code Audit & Optimization ⚜ State Management Cleanup ⚜ Responsive Layout Testing ⚜ AI-Generated Code Refinement ⚜ Clean, Well-Commented Code I have strong experience with Vanilla JavaScript, HTML5, CSS3, and refactoring large codebases into scalable architectures. I've worked with AI-generated projects before, fixing brittle logic while preserving functionality. I'll organize the engine, UI, and storage into clean ES6 modules, making the project much easier to maintain and expand. I'd be happy to discuss your game and review the project brief in detail. Warm Regards, Farhin B.
$256 USD in 10 days
6.5
6.5

Refactoring and optimizing your board game code sounds like a fun challenge. I see you're looking to improve performance and maintainability, which is crucial for any game. With nearly a decade of experience in JavaScript and game development, I can help streamline your existing codebase while enhancing its functionality. Your goal of optimizing the game for a better user experience aligns perfectly with my skills. I’ve worked on similar projects, including a regional tutoring portal and a local marketplace app, where code optimization was key to improving user engagement. Let’s chat more about your specific needs and how we can achieve your vision together. Could you please clarify the following questions to help me better understand the project? Q1: What specific performance issues are you currently facing with the code? Q2: Are there any particular features you want to prioritize during the optimization process? Q3: Do you have any preferred tools or frameworks for this refactoring work?
$500 USD in 5 days
6.2
6.2

As a highly skilled and experienced Python developer with a strong background in web automation, data mining, and AI solutions, I am confident that I am well-suited for your board game code refactoring and optimization project. My 13+ years of expertise have sharpened my ability to navigate complex, monolithic codes by deconstructing and modularizing them into clean and efficient ones - an attribute I believe aligns perfectly with your core project needs. I am proficient in Vanilla JavaScript (ES6+) for rich interactivity like your project demands, and historically have dealt with expansive codebases similar to yours hence can guarantee an excellent execution. Lastly, let's not overlook the importance of clean, well-commented code in a project’s longevity. Over the years, I've prioritized writing clean codes while providing thorough documentation that enhances easy understanding even by third parties. When you hire me for this project, not only will you receive expertly-refactored codebase, but also a user-friendly design that scales smoothly across desktop and mobile browsers. Let's refactor your game's essence into a masterpiece together!
$250 USD in 1 day
6.4
6.4

Hi, I reviewed "Board Game Code Refactoring and Optimization" and can help with it. I also noticed the listed skills include JavaScript CSS HTML5 HTML Game Development Web Development Frontend Development AI-Generated Code. I can start by reviewing the existing access/files, then implement and test the requested changes. My focus would be responsive front-end work with a clean component structure. Before starting, I would confirm: - Is there any current codebase, admin panel, or documentation I should review first? - Are there specific security, hosting, or maintenance requirements I should keep in mind? Best regards, Houssame
$500 USD in 7 days
6.2
6.2

Hi, This is exactly the type of refactoring work I enjoy. I have strong experience with Vanilla JavaScript (ES6+), HTML5, and CSS3, and I've worked on restructuring large AI-generated codebases into clean, maintainable architectures without changing existing functionality. My approach would be: - Separate the current HTML, CSS, and JavaScript into a clean project structure. - Refactor the JavaScript into ES6 modules (game engine, UI rendering, state management, persistence, utilities, etc.). - Audit the AI-generated code to remove redundant logic, improve variable scoping, and simplify state management while preserving all game rules. - Verify that the game behaves exactly as before and ensure the layout works smoothly across desktop and mobile devices. I'll deliver well-commented, maintainable code that makes future feature development much easier. One quick question: do you have any automated tests or a checklist of existing game behaviors that should be validated after the refactor, or should I create a regression checklist as part of the process?
$500 USD in 7 days
5.8
5.8

Hello, I came across your Board Game Code Refactoring and Optimization and I am very interested in working with you. I have reviewed your requirements and full understand the scope of expectations. I specialize in CSS, HTML, Web Development, and have successfully delivered similar projects before. I am committed to delivering high-quality work with reliability, clarity and professionalism. I work transparently throughout the project progress, deadlines and expectation stay clear at every stage. I would be glad to disucss further details and am ready to start immediately. Looking forward to hearing from you. Regards. Anum
$250 USD in 4 days
5.8
5.8

hello sir i am ready to start this game well so please send me message to start it asap and i will keep my updates daily basis so please send me more details to start it asap
$500 USD in 7 days
6.0
6.0

Hello Dear! Greetings from Toriqul Global Solutions! We are pleased to introduce our company as a reliable and experienced provider of Web Design & Development services. Founded and led by Engineer Toriqul Islam, a B.Sc. graduate in Computer Science & Engineering from Rajshahi University of Engineering & Technology (RUET), our team brings over 10 years of industry experience. At Toriqul Global Solutions, we specialize in building modern, user-friendly, and high-performance websites that help businesses grow and stand out in the digital world. Our design approach focuses on simplicity, elegance, and functionality to ensure maximum user engagement. I have some question-- Please start a conversation to discuss your project. Technologies We Use: Custom Websites Development Using ======>Full Stack Development. 1. HTML5 2. CSS3 3. Bootstrap4 4. jQuery 5. JavaScript 6. Angular JS 7. React JS 8. Node JS 9. WordPress 10. PHP 11. Ruby on Rails 12. MYSQL 13. Laravel 14. .Net 15. CodeIgniter 16. React Native 17. SQL / MySQL 18. Mobile app development 19. Python 20. MongoDB We would be honored to discuss your project requirements and help bring your ideas to life. Thank you for your time and consideration. Warm Regards, Toriqul Global Solutions
$250 USD in 4 days
5.9
5.9

Hi, a single-file 2,600+ line AI-generated game usually breaks down when logic, rendering, and state management are tightly coupled, making future features risky to add. Your focus on deconstructing HTML/CSS/JS, modular ES6 architecture, and cleaning brittle AI-generated patterns shows the real issue is maintainability without changing core game behavior. I will refactor the entire codebase into clean ES6 modules separating engine logic, UI rendering, and persistence, while preserving all existing game rules and improving structure so new features can be added safely. You will get a clean, scalable code architecture with proper separation of concerns, commented files, and responsive UI that behaves consistently across devices without breaking gameplay. Do you want the final structure optimized for future multiplayer expansion or strictly kept as a single-player architecture? Best Regards, Fizza Nadeem K
$250 USD in 3 days
5.8
5.8

⭐⭐⭐⭐⭐ ✅Hi there, hope you are doing well! I have experience refactoring complex JavaScript applications into modular ES6+ structures, making them easier to maintain and extend. The most important part is preserving existing game logic while breaking the code into clean, well-commented modules. Approach: ⭕ Separate HTML, CSS, and JavaScript into distinct files for clarity. ⭕ Modularize JavaScript by functionality: core engine, persistence, and UI rendering. ⭕ Optimize state management and clean up variable scoping. ⭕ Ensure responsive design for desktop and mobile. ⭕ Conduct thorough testing to keep game rules intact. ❓ Review current file structure and any known bugs or quirks to address? I am confident I can deliver clean, maintainable code that supports further development smoothly. Thank you for considering my proposal. Nam
$550 USD in 5 days
5.5
5.5

Hi there, I checked the project brief link—could you also share the actual 2,623-line HTML file so I can map out the ES6 module structure right away? Having architected and deployed complex web applications and logic engines, I know exactly how to untangle this AI-generated monolith into clean, isolated modules (engine, storage, UI) without breaking your baseball game mechanics. My process is straightforward: I'll start by extracting just the play-by-play engine into an ES6 module as a quick 1-day test, so you can see the clean code approach risk-free. NOTE: To ensure your peace of mind as you build new features later, I stand by my work with 4 months of free bug-fixing support. Send over the file and let's have a chat to dive into the details. Thanks
$280 USD in 5 days
5.2
5.2

Orange, United States
Payment method verified
Member since Jun 21, 2026
£250-750 GBP
₹600-1500 INR
₹750-1250 INR / hour
₹600-1500 INR
$30-250 USD
₹12500-37500 INR
₹3000-4500 INR
min ₹5000000 INR
₹12500-37500 INR
$3-10 NZD / hour
₹1250-2500 INR / hour
₹750-1250 INR / hour
₹1500-12500 INR
$2-8 USD / hour
$30-250 USD
$30-250 USD
$15-25 USD / hour
₹12500-37500 INR
$2-8 USD / hour
₹1500-12500 INR