Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
pieces
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by john_111
…, the entire world wide web would be hacked into tiny
pieces
and cease to exist. No one would ever use the…
Re: Hanayama Cast Puzzles - Mind bracing riddles
Community Center
Geeks' Lounge
2 Months Ago
by Emma_Rose
Absolutely, I love puzzles! đź§© The Cast Radix sounds like an awesome challenge—level 4 definitely isn’t a walk in the park. There’s something super satisfying about taking apart a well-crafted metal puzzle and figuring out the perfect movements to get it back together. And yes, that solid, high-quality feel makes a big difference—it’s like the …
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
…*dim_square,tile_center+j*dim_square canvas.coords(closest, x_center, y_center)
pieces
[d]=
pieces
[b]
pieces
[b]="O" print(tour) clic=0 check…
Xcode How can I move game pieces from one place to another
Programming
Software Development
10 Years Ago
by pinkPanda
… trying to do is moving player
pieces
from their positions how can I implement moving
pieces
from [number]positions to [number]positions… filed A & B represent player
pieces
(like in chess) each player have 3
pieces
and I placed image view on each… 1 to either position 0 or 2 or place another
pieces
the player can't move the piece to any other…
C++: Random Pieces
Programming
Software Development
15 Years Ago
by invisal
… up, but it is a collection of C++
pieces
that I have learnt during these past few years … this e-book "[B][I]C++: Random
Pieces
[/I][/B]". It is still incomplete. I decide…] There will be around 20 to 25 C++
pieces
that will be included in this e-book. I… have finished the first 4
pieces
so far. Firstly, I will post the first…
[PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
…quot;) whiter=PhotoImage(file="./pieces_image/whiter.gif")
pieces
=[blackb,blackk,blackn,blackp,blackq,blackr,whiteb,whitek,whiten,whitep…quot;P": board_representation[i][j]=letter for p in
pieces
: piecesx=i piecesy=j if i<tiles-1:…
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by gashtio
… people posting tutorials, but I have to disagree with both
pieces
you posted. You need not do any of these things…
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
…, I still have the problem that it doesn't display
pieces
on the board :(. =========== RESTART: C:\Users\Thierry\Desktop\Chess\Chessboard…
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
Thanks for your help, it's a better way than mine for moving a piece. However, it doesn't solve the main problem that is : "Why after read the ".lvl" file, it doesn't put
pieces
on the board ?"
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by Gribouillis
I cannot run your code because I don't have the images of the
pieces
and the lvl file. Can you zip the folder pieces_image and attach the zip to a post ?
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
….x y2=event.y canvas.coords(closest, x2, y2) However,
pieces
can move everywhere because the move is defined by x…
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
… states' variables to only allow players to move their own
pieces
. Unfortunatedly, I never did that before so I think to…
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
… I don't know why I still can move black
pieces
at the first turn. I asked yet to reload the…
Re: [PYTHON] Place pieces on a chessboard
Programming
9 Years Ago
by OnlyThierry
… to convert my coordinates [i][j] to find the correct
pieces
on my board [0 to 63] from the top-left…
Photo pieces compiled in table
Programming
Web Development
16 Years Ago
by Borderline
… to piece together photos on my website. I have the
pieces
in the correct order, but there is white space between…
split a string of words into pieces and print
Programming
Software Development
16 Years Ago
by -obol-
Hey everybody im a real newbee at python and im just wondering how to split a string of words into
pieces
and print on separate lines for example: " sun is shining" to: sun is shining i know this might be a simple task for a lot of people but i would appreciate any help that i can get. THANX //OBOL
Re: split a string of words into pieces and print
Programming
Software Development
16 Years Ago
by jlm699
…=-obol-;847982]how to split a string of words into
pieces
[/QUOTE] Use the [icode]split()[/icode] method like so: [code…
C++ newbie: how to extract pieces of a line from a text file
Programming
Software Development
14 Years Ago
by Annettest
…, but I can't figure out how to extract certain
pieces
of it. I would very much appreciate any help and…
Re: C++ newbie: how to extract pieces of a line from a text file
Programming
Software Development
14 Years Ago
by Greywolf333
…, but I can't figure out how to extract certain
pieces
of it. I would very much appreciate any help and…
Reading two pieces of data from each line
Programming
Software Development
14 Years Ago
by Lightslei
I need the program to read 2
pieces
of data from each line of a text. For example …
How do I use classes as pieces in a board game?
Programming
Software Development
13 Years Ago
by zack_falcon
…, I found out that other programmers use classes for the
pieces
. I'm no expert in classes. I've only used…
Re: How do I use classes as pieces in a board game?
Programming
Software Development
13 Years Ago
by Ketsuekiame
… or enums (preferred) Also, you can use inheritence. If the
pieces
all share common properties, but there are unique properties required…
Re: How do I use classes as pieces in a board game?
Programming
Software Development
13 Years Ago
by zack_falcon
…, and Rank 15 repeats twice, for a total of 21
pieces
. Per player. What I had in mind was 15 classes…
Re: How do I use classes as pieces in a board game?
Programming
Software Development
13 Years Ago
by Ketsuekiame
… of properties is, as you can see above, all the
pieces
have a rank and a pieceposition. It doesn't matter…
Re: How do I use classes as pieces in a board game?
Programming
Software Development
13 Years Ago
by Ketsuekiame
… to store about that player. Their name, their score, what
pieces
they have etc. A player is an object in your…
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by invisal
[B][COLOR="Red"]1st Piece[/COLOR][/B]: [B]Reduce the Calculation[/B] [INDENT] Computer is well-known of its ability to calculate arithmetic operation in an instant. Because it performs so fast that make some people think it will make no difference to do extra calculation. Keep that in mind that it still does spend minor time in each …
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by invisal
[B][COLOR="red"]2nd Piece [/COLOR][/B]: [B]Everything Is Not the Same [/B] [INDENT]Not every arithmetic operation takes same time to compute. Some might take longer and some might take shorter to compute. Subtraction and addition operator perform faster than multiplication, and multiplication performs faster than division. [attach]14495…
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by tux4life
[QUOTE=invisal;1196688][B][COLOR="Red"]1st Piece[/COLOR][/B]: [B]Reduce the Calculation[/B] [INDENT] For example: [icode]k = (168 * m) / 2;[/icode] This can be reduced to: [icode]k = 84 * m;[/icode] [/INDENT][/QUOTE] Uh? You meant: [ICODE]k = 84 * m / 2;[/ICODE] [QUOTE=invisal;1196692][B][COLOR="red"]2nd Piece [/COLOR…
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by invisal
[QUOTE=tux4life;1196707]Uh? You meant: [ICODE]k = 84 * m / 2;[/ICODE][/QUOTE] I think [icode](168 * m) / 2 = 84 * m[/icode] [QUOTE=tux4life;1196707] AFAIK, [ICODE]k <<= 1;[/ICODE] is the most efficient way to do a multiplication by two.[/QUOTE] Shift left is slightly slower than addition operator in modern processor.
Re: C++: Random Pieces
Programming
Software Development
15 Years Ago
by Narue
[B]>If you find any grammatically mistake or you have better >way of explain the point, please do not hesitate to correct.[/B] Which amounts to rewriting your prose, I'm afraid. It's very clearly written by someone with grammar habits from another language, and those habits are hard to break with a few quick corrections. A dedicated editor…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC