Giter Club home page Giter Club logo

syndicate's Introduction

Syndicate

This is my attempt at creating a monopoly clone in Godot 4+. I learned a bunch throughout this journey but i simply cannot finish it because of personal affairs.

I thank Sparrow and Potato for their continued support over development.

syndicate's People

Contributors

sp4r0w avatar vargadot avatar

Watchers

 avatar

syndicate's Issues

Player data is not cleared after quitting

the current setup keeps the game's player(s) data in memory when you quit to the main menu, this is because khana is an autoloaded script.

Fixes include:

  • Create a function to wipe all data in memory.
  • Make khana a node that gets created when game scene is instantiated

Make the UI do shit

Make cards actually fill up their contents and chance their sprites accordingly
Make its buttons buy and auction

Make Dice show correct numbers

Put more shit down here okay?

TurnManager

Make a function that at the start of game, chooses a player randomly and then prompts them with the option to roll dice

Add AI

Add a boolean to check if the active player's a human or AI.

When human: show the cards with buttons and all, the choice to auction ext.
When AI: doesn't show that and instead goes through a node or singleton that handles AI logic.

MainMenu.gd does not accept composerLib

Solutions

  • Revert back to c# for mainmenu
  • Use the gdscript build of composer
  • Contribute to composer and create some form of abstraction for implementing scenes

Create UI animation

For ya sparrow

Create a new branch and name it whatever you want, make sure its based on gameplay branch, NOT main

Main menu

  • Make a "rising up" animation for the credits panel when opening, i've already prepared names for the animations in mainmenu.gd
  • I guess remove that useless button shake

GameUI

  • Pause: make it so that it blurs everything behind it and as its blurring it to a nice level, the opacity of the panel is also rising
  • Prison: can you make those buttons... pop?, i want it so that in the game scene, the camera moves to the prison (on the left)
  • Auction: can you find a good wallpaper for it? i couldn't find anything tbh, same as prison but on the right
  • Card: honestly, you have 100% creative freedom for this, i literally dont mind
  • Trade: not necessary rn but i'm open for ideas

Khana.cs List Implementation

The current architecture for Khana.cs uses Dictionary in a way that resembles Array for storing owned properties

public Dictionary<byte, Property> Portfolio {get; set;}

It is simply a weird way to register and is used to check whether a property is owned by someone by registering its Key as its PropertyID for... faster search?

One way to solve this would be to use Lists. i will research and see if its suitable

Create a bank

the bank will track purchase history, land transfers and will store money that goes to it for distribution at the parking tile.
future satistical stuff will be included with it here too

Fix dice

Dice did not appear, it started at frame 0 always and it did some weird math to roll out dice so pls fix

Fix broken input

using while to detect input is futile, find some way to detect input and launch functions and that kinda stuff

To-do List

THE to-do list

  • Enlargen the remaining sprites
  • Split datamanager into two scripts (EstateCourt & Khana)

Rewrite anyone of them with gdscript to learn it.

  • Change some variable names (like seriously, agentPos? TileTypes? seriously? come up with new names)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.