Marketplace | Games

Smart-Contract #000-00000000000023

Chart
logo

Snake vs Alhimic 00603

I designed a simple but fun game with a visually appealing background and interactive gameplay elements. The player is given control, with each successful interaction rewarded by increasing the player's points. This scoring mechanism adds an element of competition, motivating players to strive for higher scores.

Characteristics:

  • [Category] <--------------------------------------------------------> [Games]
  • [Creator] <-----------------------------------------------------> [InNotSystem13]
  • [Project] <---------------------------------------------------> [Snake vs Alhimic]
  • [Identifier] <--------------------------------------------------------> [00603]
  • [Contract] <------------> [0xc762a1ccd7632b49BC914947cF8613E10F602687]
  • [Chain] <---------------------------------------------------------> [BSC Chain]
  • [Type] <----------------------------------------------------> [Application]

Binance Smart Chain (BSC)

Price: 1 USDT

Video instruction

“In order to start creating something exclusive, you don’t need any special knowledge or skills, you just need to be able to COPY and PASTE - it’s like with a girl, you just need to undress and paste!”

3 Simple steps to get started 🚀

Install Python: If you don't already have it, download and install Python from the official website. Python supports various operating systems, and you can choose the version that suits your computer.

Install PyCharm: Download and install the PyCharm IDE to make creating your application easier. You can find a free version of PyCharm Community Edition that is good to get started.

Copy Code: Open the PyCharm development environment, create a new project. Copy and paste the code into the window, click the Start button, you have launched your project. Use this code or other codes from the Metaverse to create something global and worthwhile!

Try just copying your first code and creating an application

In just 1 minute

    import pygame
    import sys
    import random

    # Initialize Pygame
    pygame.init()

    # Screen dimensions
    screen_width = 800
    screen_height = 600

    # Colors
    white = (255, 255, 255)
    blue = (0, 0, 255)

    # Create the screen
    screen = pygame.display.set_mode((screen_width, screen_height))
    pygame.display.set_caption("Bowling")

    # Load the background
    background = pygame.image.load("Static/photo4.JPG")
    background = pygame.transform.scale(background, (screen_width, screen_height))

    # Load images of the ball and pins
    ball = pygame.image.load("Static/photo2.JPG")
    ball = pygame.transform.scale(ball, (50, 50))

    pin = pygame.image.load("Static/photo1.JPG")
    pin = pygame.transform.scale(pin, (60, 90))

    # Initial coordinates of the ball
    ball_x = screen_width // 2
    ball_y = screen_height - 100

    # Initial position of the pins
    pins = [(random.randint(0, screen_width - 60), random.randint(0, screen_height - 90)) for _ in range(10)]

    # Score
    score = 0

    # Main game loop
    running = True

    while running:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False

        # Handle key presses
        keys = pygame.key.get_pressed()
        if keys[pygame.K_LEFT] or keys[pygame.K_a]:
            ball_x -= 5
        if keys[pygame.K_RIGHT] or keys[pygame.K_d]:
            ball_x += 5
        if keys[pygame.K_UP] or keys[pygame.K_w]:
            ball_y -= 5
        if keys[pygame.K_DOWN] or keys[pygame.K_s]:
            ball_y += 5

        # Check if the ball hits the pins
        for i, (pin_x, pin_y) in enumerate(pins):
            if abs(pin_x - ball_x) < 50 and abs(pin_y - ball_y) < 50:
                pins.pop(i)
                score += 1

        # Add new pins if all pins were knocked down
        if not pins:
            pins = [(random.randint(0, screen_width - 60), random.randint(0, screen_height - 90)) for _ in range(10)]

        # Draw the background
        screen.blit(background, (0, 0))

        # Draw the ball
        screen.blit(ball, (ball_x, ball_y))

        # Draw the pins
        for pin_x, pin_y in pins:
            screen.blit(pin, (pin_x, pin_y))

        # Draw the score
        font = pygame.font.Font(None, 36)
        text = font.render("Score: " + str(score), True, blue)
        screen.blit(text, (10, 10))

        pygame.display.update()

    # Quit Pygame
    pygame.quit()
    sys.exit()


    # pip install pygame


            
Copy the code, paste it into PyCharm, press the start button
Message to the community from the creator: This game offers players a fun and visually stimulating experience that combines user-friendly controls, captivating visuals, and a competitive scoring system. This is a game that anyone can create in 3 minutes and enjoy, with the potential for endless entertainment.
I dance to track Die Antwoord - Banana Braine
Quote from the creator: “The big path to wealth starts with 1 USD”
Start Price - 1 USDT
Additions: In the Marketplace “Calculators All” and “Games” I add and assign the main currency AK (A.KANGOL)
1 USDT & = & 1 AK (A.KANGOL)
(A.KANGOL) - [internal coin]
The purpose of the contract is step-by-step training using BlockChain in creating your projects using Python - [COPY & PASTE]
Логотип

Games

Товар 1

Flappy vs Alchimic 00601

Creator - InNotSystem13

Contract type - Open

Товар 2

Apple Snake 00602

Creator - InNotSystem13

Contract type - Open

Товар 3

Snake vs Alhimic 00603

Creator - InNotSystem13

Contract type - Open

Товар 4

Square Jumps 00604

Creator - InNotSystem13

Contract type - Open

Товар 5

Circle & Square 00605

Creator - InNotSystem13

Contract type - Open