Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to make UNO in Python

+26 votes
asked Mar 2, 2025 by DEO-DECLAN YEPWI (220 points)
I was playing uno with a couple of friends before I realized that it may be better when we play using our devices. So I was wondering whether it's possible to make UNO that multiple people play from their own devices, or they play on a single one

6 Answers

0 votes
answered Mar 3, 2025 by Peter Minarik (101,340 points)
If you're new to Python, then you're biting off more than you can chew. You should start small before you endeavor to make a game with networking capability.

Let's start at the basics first: https://www.learnpython.org/

After you can handle these, you can consider making a game in Python. You can use pygame for that. Check out this tutorial: https://www.geeksforgeeks.org/pygame-tutorial/
commented Mar 5, 2025 by C.V. Sanjiv Krish Aryaa (170 points)
geeks ask money so dont use it
commented Mar 6, 2025 by Peter Minarik (101,340 points)
The site seems free to me. I can access the tutorial content just fine without ever seeing any hint of paid content. Sure, the website contains ads, but that's like 99.99% of the websites these days. Everyone needs to make an income somehow.
0 votes
answered Mar 5, 2025 by C.V. Sanjiv Krish Aryaa (170 points)

Bro it is a little hard but contact me i will teach you

my number is 9034567237.

+2 votes
answered Nov 2, 2025 by JUSTIN OKENE (190 points)
bro how did I find u rn????
0 votes
answered Nov 22, 2025 by JASON EBAGUA (180 points)
reshown Jan 11 by JASON EBAGUA

Guy Naww

ain't no way bro

crying

+1 vote
answered May 4 by DAVEY - CAELAN YEPWI (250 points)

I can help u.First thing u do is copy this code ,then left click(double click) to see inspect.Then you press console and paste the code.After this press enter.

"lang-javascript">const canvas  document.createElement('canvas');

canvas.width = 800;

canvas.height = 400;

document.body.appendChild(canvas);

const ctx = canvas.getContext('2d');

let player = { x: 50, y: 350, width: 20, height: 20, dy: 0 };

let gravity = 0.5;

let isJumping = false;

function update() {

    if (isJumping) {

        player.dy += gravity;

        player.y += player.dy;

        if (player.y >= 350) {

            player.y = 350;

            player.dy = 0;

            isJumping = false;

        }

    }

}

function render() {

    ctx.clearRect(0, 0, canvas.width, canvas.height);

    ctx.fillStyle = 'blue';

    ctx.fillRect(player.x, player.y, player.width, player.height);

}

function gameLoop() {

    update();

    render();

    requestAnimationFrame(gameLoop);

}

document.addEventListener('keydown', (e) => {

    if (e.code === 'Space' && !isJumping) {

        player.dy = -10;

        isJumping = true;

    }

});

gameLoop();

commented 1 day ago by SPAM EMAIL (270 points)
Freind, this is java. He asked for python.
second of all, why did you give a program for a platformer game?
0 votes
answered 1 day ago by SPAM EMAIL (270 points)
I'd reccomend you start by trying to make it text based, as graphics in python (in my experience) are difficult.

For starters, you should start by making it so that everyone is playing on the same device before trying to link multiple computers into the same game.

To be honest, you can find websites to play uno online. (fig 1: https://buddyboardgames.com/uno)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...