Comments (4)
I reworked code for adjusting pieces for a selected space on the map.
You can now move pieces to/from other spaces and you can move pieces between the space and the available/casualties/out of play boxes.
When moving a base/or tunneled base you can select either type from the source and place it in a single command.
When moving a pieced that can be flipped (guerrilla, ranger, irregular) you specify the type active/undergound to be place in the destination, but you can select both active and underground pieces in the source.
This allow you to, for example, move 3 the active guerrillas in Tay Ninh to Saigon as underground guerrillas.
Or you could select an NVA Base in the Available box and move it to a space as a Tunneled base.
from fitl.
Bases and Tunneled Bases are represented as different entities with in the code.
So what is going on here is that there are two bases currently in Tay Ninh: A Tunneled VC Base and an Untunneled NVA Base.
The adjust code will only let you change the number of those entities. So to change the NVA Base into a Tunneled base you must first remove the NVA Bases (adjust NVA Bases to zero). Then you will see that an option for NVA Tunneled Bases will appear in the menu. You can then select it to add the Tunneled Base.
from fitl.
Also it bears pointing out that to add a piece to a space, the piece must be in the Available Box. This means in the case where the piece you wish to add to a space is not available it must be taken from somewhere first with a separate Adjust command. This includes if you wanted to move a piece from the Casualties Box or the Out of Play Box. The piece must first be adjusted out of that box. And the the space can be adjusted to add the new available piece.
from fitl.
Ah, understood. So the code doesn't let me adjust things willy-nilly; it hews to the space limits etc. Ok, that's clearer now. Closing!
from fitl.
Related Issues (20)
- Change "Quang Tin Quang Ngai" to "Quang Tin-Quang Ngai" HOT 1
- When selecting Special Activity, offer option to change selection if possible HOT 1
- Card #116 - Cadres (Shaded text) used twice in one turn HOT 1
- Pivotal Events: Show if Playable, not just Available HOT 1
- The game does not handle every faction being ineligible. HOT 4
- Pivotal Events handled? HOT 3
- Gulf of Tonkin (Card #1) - wrong eligibility order HOT 1
- Game stalled HOT 4
- Improve display of game state differences. HOT 1
- ARVN did 2 different Specials in 1 turn HOT 2
- Occasional Duplicate "Press enter to continue"
- US did 2 specials in 1 turn HOT 1
- Card Amphib Landing: couldn't say where I was relocating my pieces
- When Moving pieces, limit selection to what is actually movable HOT 4
- Add ability flip pieces when adjusting a space
- Before asking me if I want to do my Pivotal, show me the summary
- Card #80 - Light at the end of the tunnel - no Support change indicated HOT 2
- Identify upcoming Critical events
- Crash with ARVN bot HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fitl.