GitHub - yairm210/Unciv: Open-source Android/Desktop remake of Civ V
github.com
external-link
Open-source Android/Desktop remake of Civ V. Contribute to yairm210/Unciv development by creating an account on GitHub.
@[email protected]
creator
link
fedilink
English
512d

Kozy asked for a different rule set; essentially changing a few numbers related to non-combat victory (shorter research times, lower policy points required, etc). Identifying these numbers in a complicated code base, especially for a non-programmer, could be very difficult. For the non-programmer, understanding how the code works isn’t very important. You just need to know what to change, and perhaps make sure you don’t change more.

I think this is exactly a case where getting a novice programming friend to make a mod would make sense. Equivalently, to vibe code.

@[email protected]
link
fedilink
English
112d

deleted by creator

Echo Dot
link
fedilink
English
211d

How would a novice programmer even know if the code that they’re writing isn’t breaking something else?

I’ve tried getting AI to program really simple things, like converting street addresses into latitude and longitude coordinates, and the code it produces is just awful.

It’s not ready at all for primetime yet, I really wish people would stop pushing it. It’ll get there I’m sure but it needs more time.

@[email protected]
creator
link
fedilink
English
3
edit-2
11d

By testing it out in the app?

I’ve also tried getting AI to program really simple things, like using js to find particular elements in a webpage (which I don’t control and involves far too many lines). It did fine.

It’s not ready for commercial use, but it makes hacking around unfamiliar code more accessible.

@[email protected]
creator
link
fedilink
English
211d

I’m going to make a mildly stronger claim. I think this game really is quite moddable by a non-coder. What you need is to implement a different ruleset with new win conditions; everything else can be done with copying existing files into the correct file structure. New win conditions are specified by a pretty boring JSON file, docs here:

https://github.com/yairm210/Unciv/blob/master/docs/Modders/Mod-file-structure/5-Miscellaneous-JSON-files.md#victorytypesjson

See here for an MVP for a mod of this type (probably replaces/strips away too much, but you should be able to find the vanilla files in the github linked in the OP):

https://github.com/yairm210/Unciv-minimal-base-ruleset/tree/master

Which is all to say, this is much easier than doing address lookup imo.

Create a post

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Rules

1. Submissions have to be related to games

Video games, tabletop, or otherwise. Posts not related to games will be deleted.

This community is focused on games, of all kinds. Any news item or discussion should be related to gaming in some way.

2. No bigotry or harassment, be civil

No bigotry, hardline stance. Try not to get too heated when entering into a discussion or debate.

We are here to talk and discuss about one of our passions, not fight or be exposed to hate. Posts or responses that are hateful will be deleted to keep the atmosphere good. If repeatedly violated, not only will the comment be deleted but a ban will be handed out as well. We judge each case individually.

3. No excessive self-promotion

Try to keep it to 10% self-promotion / 90% other stuff in your post history.

This is to prevent people from posting for the sole purpose of promoting their own website or social media account.

4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

This community is mostly for discussion and news. Remember to search for the thing you’re submitting before posting to see if it’s already been posted.

We want to keep the quality of posts high. Therefore, memes, funny videos, low-effort posts and reposts are not allowed. We prohibit giveaways because we cannot be sure that the person holding the giveaway will actually do what they promise.

5. Mark Spoilers and NSFW

Make sure to mark your stuff or it may be removed.

No one wants to be spoiled. Therefore, always mark spoilers. Similarly mark NSFW, in case anyone is browsing in a public space or at work.

6. No linking to piracy

Don’t share it here, there are other places to find it. Discussion of piracy is fine.

We don’t want us moderators or the admins of lemmy.world to get in trouble for linking to piracy. Therefore, any link to piracy will be removed. Discussion of it is of course allowed.

Authorized Regular Threads

Related communities

PM a mod to add your own

Video games

Generic

Help and suggestions

By platform
By type
By games
Language specific
  • 1 user online
  • 95 users / day
  • 762 users / week
  • 2.38K users / month
  • 6.63K users / 6 months
  • 1 subscriber
  • 6.73K Posts
  • 136K Comments
  • Modlog