Inspiration
We are in the early stages of gaming, where the potential of AI in gaming is yet to be fully explored. We believe that AI has the power to revolutionize the gaming industry. With opportunities ranging from level creation to AI opponents, the possibilities are limitless. Players crave fresh experiences as repetitive gameplay becomes monotonous, and AI can address this demand.
What it does
Our project aims to introduce AI to the popular game "Cards Against Humanity." In this game, players select the funniest cards to compete against each other. By leveraging AI, we enhance the player experience and ensure that every game is unique. Typically, a "czar" receives a black card, and players must choose the funniest white card in response. In our version, the czar will give a prompt to the AI and then will generate black cards for the czar to choose from, hence creating a new game experience every time.
How we built it
For the frontend, we utilized React and Next.js to build components and create the website's user interface. We leveraged the power of React to develop interactive and reusable components, while Next.js facilitated server-side rendering and optimized the overall performance of the application.
To establish real-time communication between the frontend and backend, we integrated the Socket.IO JavaScript library. Socket.IO enabled bidirectional communication, allowing for instant updates and a seamless gaming experience.
On the backend, we employed Express.js, a flexible Node.js framework, to handle the game logic and deliver real-time functionality. By leveraging Express.js, we were able to create a robust and scalable backend system that facilitated smooth gameplay and provided a dynamic gaming experience.
Combining the frontend technologies of React and Next.js with the backend technologies of Socket.IO and Express.js, we created a cohesive and efficient system that delivers a captivating and real-time gaming experience for our users.
Challenges we ran into
During the development process, we faced several challenges that tested our skills and pushed us to learn new technologies. We encountered technical difficulties with the setup, which resulted in some delays. Additionally, we had to familiarize ourselves with working with the framework and the Socket.IO library, which presented a learning curve. However, overcoming these obstacles allowed us to gain valuable experience and enhance our technical expertise.
Another challenge we encountered was the consideration of the financial cost associated with using AI. As AI implementation can involve expenses, we had to prioritize our resources and allocate our time accordingly. Unfortunately, due to time constraints, we were unable to thoroughly explore and implement all the options available to us.
Accomplishments that we're proud of
We are proud of successfully using Socket.IO to connect the backend and frontend, allowing us to develop a functional prototype of the game. This achievement demonstrates our ability to establish smooth communication and build a working game that users can interact with.


Log in or sign up for Devpost to join the conversation.