OpenLLM-France/wikimedia huggingface dataset:
# Character Encodings/Code Tables/EBCDIC/EBCDIC 024

IBM code page 24 (CCSID 24) is an EBCDIC code page used in IBM mainframes in the United Kingdom to support the English language.

## Codepage layout

Characters are shown with their equivalent Unicode codes.
EBCDIC 024 :
| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
| 0x | NUL | SOH | STX | ETX | SEL | HT | RNL | DEL | GE | SPS | RPT | VT | FF | CR | SO | SI |
| 1x | DLE | DC1 | DC2 | DC3 | RES/ ENP | NL | BS | POC | CAN | EM | UBS | CU1 | IFS | IGS | IRS | ITB |
| 2x | DS | SOS | FS | WUS | BYP/ INP | LF | ETB | ESC | SA | SFE | SM/ SW | CSP | MFA | ENQ | ACK | BEL |
| 3x | | | SYN | IR | PP | TRN | NBS | EOT | SBS | IT | RFF | CU3 | DC4 | NAK | | SUB |
| 4x | SP | | | | | | | | | | [ 005B | . 002E | < 003C | ( 0028 | + 002B | ! 0021 |
| 5x | & 0026 | | | | | | | | | | ] 005D | $ 0024 | * 002A | ) 0029 | ; 003B | µ 00B5 |
| 6x | - 002D | / 002F | | | | | | | | | # 0023 | , 002C | % 0025 | _ 005F | > 003E | ? 003F |
| 7x | | | | | | | | | | ± 00B1 | : 003A | £ 00A3 | @ 0040 | ' 0027 | = 003D | " 0022 |
| 8x | | a 0061 | b 0062 | c 0063 | d 0064 | e 0065 | f 0066 | g 0067 | h 0068 | i 0069 | | | | | | |
| 9x | | j 006A | k 006B | l 006C | m 006D | n 006E | o 006F | p 0070 | q 0071 | r 0072 | | | | | | |
| Ax | | ° 00B0 | s 0073 | t 0074 | u 0075 | v 0076 | w 0077 | x 0078 | y 0079 | z 007A | | | | | | |
| Bx | | | | | | | | | | | | | | | | |
| Cx | ² 00B2 | A 0041 | B 0042 | C 0043 | D 0044 | E 0045 | F 0046 | G 0047 | H 0048 | I 0049 | | | | | | |
| Dx | ³ 00B3 | J 004A | K 004B | L 004C | M 004D | N 004E | O 004F | P 0050 | Q 0051 | R 0052 | | | | | | |
| Ex | ½ 00BD | | S 0053 | T 0054 | U 0055 | V 0056 | W 0057 | X 0058 | Y 0059 | Z 005A | | | | | | |
| Fx | 0 0030 | 1 0031 | 2 0032 | 3 0033 | 4 0034 | 5 0035 | 6 0036 | 7 0037 | 8 0038 | 9 0039 | | | | | | EO |
| Differences from EBCDIC 500 |||||||||||||||||

## References

* ↑ "Code Page 24" (PDF). Archived from the original (PDF) on 2013-01-21.
# Character Encodings/Code Tables/EBCDIC/EBCDIC 031

IBM code page 31 (CCSID 31) is an EBCDIC code page used in IBM mainframes in the South Africa to support the Afrikaans language.

## Codepage layout

Characters are shown with their equivalent Unicode codes.
EBCDIC 031 :
| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
| 0x | NUL | SOH | STX | ETX | SEL | HT | RNL | DEL | GE | SPS | RPT | VT | FF | CR | SO | SI |
| 1x | DLE | DC1 | DC2 | DC3 | RES/ ENP | NL | BS | POC | CAN | EM | UBS | CU1 | IFS | IGS | IRS | ITB |
| 2x | DS | SOS | FS | WUS | BYP/ INP | LF | ETB | ESC | SA | SFE | SM/ SW | CSP | MFA | ENQ | ACK | BEL |
| 3x | | | SYN | IR | PP | TRN | NBS | EOT | SBS | IT | RFF | CU3 | DC4 | NAK | | SUB |
| 4x | SP | | | | | | | | | | ÷ 00F7 | . 002E | ° 00B0 | ( 0028 | + 002B | ! 0021 |
| 5x | & 0026 | | | | | | | | | | ℓ 2113 | $ 0024 | * 002A | ) 0029 | ; 003B | ^ 005E |
| 6x | - 002D | / 002F | | | | | | | | | ŉ 0149 | , 002C | % 0025 | _ 005F | ½ 00BD | ? 003F |
| 7x | | | | | | | | | | ` 0060 | : 003A | £ 00A3 | @ 0040 | ' 0027 | = 003D | " 0022 |
| 8x | | a 0061 | b 0062 | c 0063 | d 0064 | e 0065 | f 0066 | g 0067 | h 0068 | i 0069 | | | | | | |
| 9x | | j 006A | k 006B | l 006C | m 006D | n 006E | o 006F | p 0070 | q 0071 | r 0072 | | | | | | |
| Ax | | ¨ 00A8 | s 0073 | t 0074 | u 0075 | v 0076 | w 0077 | x 0078 | y 0079 | z 007A | | | | | | |
| Bx | | | | | | | | | | | | | | | | |
| Cx | ² 00B2 | A 0041 | B 0042 | C 0043 | D 0044 | E 0045 | F 0046 | G 0047 | H 0048 | I 0049 | | | | | | |
| Dx | ³ 00B3 | J 004A | K 004B | L 004C | M 004D | N 004E | O 004F | P 0050 | Q 0051 | R 0052 | | | | | | |
| Ex | ´ 00B4 | | S 0053 | T 0054 | U 0055 | V 0056 | W 0057 | X 0058 | Y 0059 | Z 005A | | | | | | |
| Fx | 0 0030 | 1 0031 | 2 0032 | 3 0033 | 4 0034 | 5 0035 | 6 0036 | 7 0037 | 8 0038 | 9 0039 | | | | | | EO |
| Differences from EBCDIC 500 |||||||||||||||||

## References

* ↑ "Code Page 31" (PDF). Archived from the original (PDF) on 2013-01-21.
# Character Encodings/Code Tables/EBCDIC/EBCDIC 021

IBM code page 21 (CCSID 21) is an EBCDIC code page used in IBM mainframes in Brazil to support the Portuguese language.

## Codepage layout

Characters are shown with their equivalent Unicode codes.
EBCDIC 021 :
| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
| 0x | NUL | SOH | STX | ETX | SEL | HT | RNL | DEL | GE | SPS | RPT | VT | FF | CR | SO | SI |
| 1x | DLE | DC1 | DC2 | DC3 | RES/ ENP | NL | BS | POC | CAN | EM | UBS | CU1 | IFS | IGS | IRS | ITB |
| 2x | DS | SOS | FS | WUS | BYP/ INP | LF | ETB | ESC | SA | SFE | SM/ SW | CSP | MFA | ENQ | ACK | BEL |
| 3x | | | SYN | IR | PP | TRN | NBS | EOT | SBS | IT | RFF | CU3 | DC4 | NAK | | SUB |
| 4x | SP | | | | | | | | | | § 00A7 | . 002E | ² 00B2 | ( 0028 | + 002B | ! 0021 |
| 5x | & 0026 | | | | | | | | | | | 007C | $ 0024 | * 002A | ) 0029 | ; 003B | ^ 005E |
| 6x | - 002D | / 002F | | | | | | | | | ç 00E7 | , 002C | % 0025 | _ 005F | ³ 00B3 | ? 003F |
| 7x | | | | | | | | | | ` 0060 | : 003A | £ 00A3 | ª 00AA | ' 0027 | = 003D | " 0022 |
| 8x | | a 0061 | b 0062 | c 0063 | d 0064 | e 0065 | f 0066 | g 0067 | h 0068 | i 0069 | | | | | | |
| 9x | | j 006A | k 006B | l 006C | m 006D | n 006E | o 006F | p 0070 | q 0071 | r 0072 | | | | | | |
| Ax | | ~ 007E | s 0073 | t 0074 | u 0075 | v 0076 | w 0077 | x 0078 | y 0079 | z 007A | | | | | | |
| Bx | | | | | | | | | | | | | | | | |
| Cx | º 00BA | A 0041 | B 0042 | C 0043 | D 0044 | E 0045 | F 0046 | G 0047 | H 0048 | I 0049 | | | | | | |
| Dx | ´ 00B4 | J 004A | K 004B | L 004C | M 004D | N 004E | O 004F | P 0050 | Q 0051 | R 0052 | [ 005B | | | | | |
| Ex | Ç 00C7 | | S 0053 | T 0054 | U 0055 | V 0056 | W 0057 | X 0058 | Y 0059 | Z 005A | ] 005D | | | | | |
| Fx | 0 0030 | 1 0031 | 2 0032 | 3 0033 | 4 0034 | 5 0035 | 6 0036 | 7 0037 | 8 0038 | 9 0039 | | | | | | EO |
| Differences from EBCDIC 500 |||||||||||||||||

## References

* ↑ "Code Page 21" (PDF). Archived from the original (PDF) on 2013-01-21.
# Blender 3D: Blending Into Python/Reference

Blender Python API Reference
DataBlock Wrapper Submodules
* Reference: Camera — Modify the properties of camera
* Reference: Curve — ...
* Reference: Image — Deals with Image objects loaded into Blender.
* Reference: Ipo — Animated curves used for controlling a veriety of properties.
* Reference: Lamp — Animated curves used for controlling a veriety of properties.
* Reference: Lattice — ...
* Reference: Material — ...
* Reference: Texture — ...
Blender Interface SubModules
* Reference: Draw — Access user interface elements.
* Reference: BGL — OpenGL Access inside blender.
* Reference: Window — Global events, user interactions.
Blender General SubModules
* Reference: Mathutils — 3D Math Functions
* Reference: Noise — Random/Noise/Turblence functions
* Reference: Registry — Global events, user interactions.
* Reference: Sys — Used instead of python sys, adds some blender specific functions.
# Blender 3D: Blending Into Python/Script tutorials

This Section is to be used for documenting Blender/Python scripts.
Note, from Ideasman42, Anyone who wants their script to be documented can add their script here, I only added mine, since some other people might rather document their scripts on their own site.
* ScriptTutorial: ArchiMap UV UnWrapper — Projection unwrapper.
* ScriptTutorial: Obj Import/Export — File Import/Export for the WaveFront OBJ file format.
* ScriptTutorial: PyRedux Python Based Decimator — Reduces the polygons in a mesh.
# Blender 3D: HotKeys

Hotkeys are also known as key bindings or shortcuts. They can be customized in user preference panel. Keys are named according to these conventions:
* xKEY — key labelled x on main keyboard (e.g. AKEY for key labelled A)
* NUMx — key labelled x on numeric keypad (e.g. NUM1 for key labelled 1). You may need to ensure Num Lock is on for these keys to work.
* xMB — mouse button, x = Left, Middle or Right.
* MW — mouse wheel.
* modifier+key — while holding down modifier (ALT, CTRL, SHIFT), press key (e.g. CTRL+XKEY means press XKEY while holding down CTRL). There may be more than one modifier, all of which are to be held down at once.
* key1 key2 — press key1, let go, then press key2 (e.g. GKEY XKEY to press GKEY followed by XKEY). Sequence may consist of more than two keys. Each key may have its own modifiers.

## Contents

* All HotKeys

### 3D View by Mode

* Object Mode
* Edit Mode
* Pose Mode
* Sculpt Mode
* Vertex Paint Mode
* Texture Paint Mode
* Particle Mode
* UV Face Select Mode

### By Key

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Please note: The format of this book has changed. Please be careful when making edits. This book now makes use of templates. Please be sure that you understand the Wikibooks Template System before making any edits. Additionally, you should note that each hotkey has its own template. This is so that the hotkey can be used across the different Blender wikibooks. Please study the way templates are being used with these hotkeys before making your own additions.
# Sculpt Mode HotKeys

* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/CTRL-SHIFT-LMB
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/CTRL-SHIFT-RMB
* AKEY — toggle airbrush.
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/CKEY
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/SHIFT-CKey
* DKEY — Use Draw brush.
* FKEY — show/change brush size.
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/CTRL-FKEY
* SHIFT+FKEY — show/change brush strength.
* GKEY — use Grab brush.
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/ALT-HKEY
* IKEY — use Inflate brush.
* LKEY — use Layer brush.
* NKEY — toggle Sculpt Properties panel.
* PKEY — use Pinch brush.
* SKEY — use Smooth brush.
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/SHIFT-TKEY
* VKEY — toggle brush direction (add/subtract).
* XKEY — toggle X symmetry.
* YKEY — toggle Y symmetry.
* ZKEY — toggle Z symmetry.
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/PGUP
* Template:Blender 3D: HotKeys/3D View/Sculpt Mode/PGDN
# Orphan Scripts

Hi, post unmaintained scripts here.
Be wary of malicious code, especially the OS module, check in the history every so often for edits to see nobody's doing bad stuff.
Currently there are two scripts here in need of nice mothers or fathers.
This script is a simple L system that allows you to use pre-defined meshes. It DOES work in 2.43 and could possibly be a building generator (with some work).
This script apparently WONT work in blender 2.43, updates welcome.
# Giuoco Piano Gambit
## 6. d4!
## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O Nf6 5.c3 O-O 6.d4!
| 6 | 7 |
| ... exd4 | cxd4 | = |
When contributing to this Wikibook, please follow the Conventions for organization.
# Giuoco Piano Gambit
## 7...Bb6
## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O Nf6 5.c3 O-O 6.d4! exd4 7.cxd4 Bb6
| | 8 | 9 | 10 |
| Nc3 d6 | h3 Bd7 | Bg5 | = |
| | Nc3 Ba5 | a3 b6 | b4 g5 | = |
When contributing to this Wikibook, please follow the Conventions for organization.
# Giuoco Piano Gambit
## 7.cxd4
## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O Nf6 5.c3 O-O 6.d4! exd4 7.cxd4
| 7 | 8 |
| ... Bb6 | Nc3 | = |
| ... Bb4 | Nc3 Bxc3 | = |
When contributing to this Wikibook, please follow the Conventions for organization.
# Chess Opening Theory/1. e4/1...e5/2. Nf3/2...Nc6/3. Bc4/3...Bc5/4. b4/4...Bb6
## Evans Gambit Declined
### 4... Bb6

Black declines the gambit by playing 4... Bb6. Black refuses to give White the opportunity to gain tempo and hangs onto the center. However, White can play 5. a4 with plans to play 6. a5 later on to trap the bishop.
# Deutz Gambit
### 5.d4

The Deutz Gambit is an aggressive line by white in the Italian Game and Giuoco Piano. White has a safe king and wants to strike the center of the board with d4 and start attacking the black king sooner than later. Black is almost forced to take the pawn on d4 with the bishop, knight, or pawn and is a gambit that requires Black to know theory to be able to fight it.
The three captures are:
5…Bxd4 This is the strongest variation for black. After the exchange 6. Nxd4 Nxd4, white can play 7. f4. This threatens the sole pawn that is holding the center of the board together for black. Black should try to hold onto this pawn with 7…d6, but will find themselves well behind if they go with any other option.
5…Nxd4 If black decides to take the pawn with the knight on d4, white will respond with 6. Nxe5. Notice the pressure white is putting on the f7 square. This is the weakest square for black early in the game because the king is the only piece protecting it. Now white has both the knight and bishop in striking distance of the weakened square.
Black might try to play it safe and castle, but that loses to 7. Be3. White has the bishop and queen attacking the knight and black will end up losing a minor piece. If instead black tries 6…Qe7, white can punish black with 7. Bxf7. The f7 square is still under attack from the knight and black is forced to move the king and damage their setup.
5…exd4 After the pawn takes on d4, white will push the center pawn with 6. e5. This is the Max Lange Attack and is one of the hardest for black to defend against. If black moves the knight back to g8, they lose too much temp. If they bring it to “safety” with Ng4, black ends up losing after Bxf7, Kxf7, Ng5+, Kg8, Qxg4. Black can also try to block the center of the board with 6…d5, but white is better of with the exchanges after 7. exf6 dxc4 8. fxg7.
When contributing to this Wikibook, please follow the conventions for organization.

## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
    1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4.d4 exd4 5. O-O Bc5 6. e5
| | 5 | 6 | 7 | 8 | 9 |
| 1 | d4 Bxd4 | Nxd4 Nxd4 | Bg5 Qe7 | Nc3 c6 | f4 d6 |
When contributing to this Wikibook, please follow the Conventions for organization.
# Chess Opening Theory/1. e4/1...e5/2. Nf3/2...Nc6/3. Bc4/3...Bc5/4. b4/4...Bxb4/5. c3

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |

# Evans Gambit Accepted

The most popular bishop retreat is 5...Ba5, after which white continues with the simple 6. d4.

#### Other retreats:

5...Bc5, trying to discourage 6. d4, is inferior, since white can play 6. d4 anyway with gain of time.
5...Be7 is the move most grandmasters play, and is considered to be okay. According to Wikipedia, "This has often been considered one of the "safer" retreats." The Indian grandmaster Viswanathan Anand has played it.
After that, there is a branch choice between 6...d6 or 6...exd4.

### 6...d6

6...d6
7. O-O or 7. Qb3

#### 7. O-O

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
* 7. O-O Bb6 8. dxe5 dxe5 9. Qxd8+ Nxd8 10. Nxe5 Be6 (Lasker)
* 7. O-O Bb6 8. dxe5 dxe5 9. Qb3 Qf6 10. Bg5 Qg6 11. Bd5 Nge7 12. Bxe7 Kxe7 13. Bxc6 Qxc6 14. Nxe5 Qe6 (Chigorin)

#### 7. Qb3

* 7. Qb3 Qd7 8. dxe5 Bb6
* 7. Qb3 Qd7 8. dxe5 Bb6 9. a4 dxe5 10. a5 Bc5 11. a6 (Stockfish 8 depth=32)
* 7. Qb3 Qd7 8. dxe5 dxe5

### 6...exd4

* 6...exd4 7. Qb3 (Short)
* 6...exd4 7. O-O Nge7
* 6...exd4 7. O-O Nge7 8. Ng5 d5
* 6...exd4 7. O-O Nge7 8. cxd4 d5
* 6...exd4 7. O-O dxc3 8. Qb3
* 6...exd4 7. O-O d6 8. cxd4 Bb6 (Normal Position)
* 6...exd4 7. O-O dxc3 8. Qb3

## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
    1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. b4 Bxb4 5. c3
| | 5 | 6 |
| Evans Gambit Accepted | ... Ba5 | d4 |
When contributing to this Wikibook, please follow the Conventions for organization.

## References

* ↑ https://en.wikipedia.org/wiki/Evans_Gambit#5...Bc5
* Kasparov, Garry, & Keene, Raymond 1989 Batsford chess openings 2. ISBN 0-8050-3409-9.
# Evans Gambit Accepted
## 4...Bxb4

Black has accepted the gambit and needs to play accurately now.
White can win a tempo in the fight for the center by playing 5. c3.

## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
    1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. b4 Bxb4
| | 5 | 6 |
| Evans Gambit Accepted | c3 Ba5 | d4 |
When contributing to this Wikibook, please follow the Conventions for organization.

## References

* Kasparov, Garry, & Keene, Raymond 1989 Batsford chess openings 2. ISBN 0-8050-3409-9.
# Giuoco Piano Gambit
## 6...exd4!
## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O Nf6 5.c3 O-O 6.d4! exd4
| 7 | 8 |
| cxd4 Bb5 | Nc3 | = |
When contributing to this Wikibook, please follow the Conventions for organization.
# Max Lange Attack
### 6. e5

The Max Lange Attack can arise from several different opening lines, including the Two Knights Defense, Petroff's Defense, Scotch Gambit, Bishop's Opening, Center Game, and Giuoco Piano. Two of the most commonly seen move orders are 1.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6 (the Two Knights Defense) 4.d4 exd4 5.0-0 Bc5 6.e5, and 1.e4 e5 2.Nf3 Nc6 3.d4 exd4 4.Bc4 (the Scotch Gambit) Bc5 5.0-0 Nf6 6.e5. After 6.e5, Black has two main replies. Black's 6...Ng4 is playable, but rarely seen. More common is 6...d5, when the main line continues 7.exf6 dxc4 8.Re1+ Be6 9.Ng5 Qd5 (9...Qxf6?? 10.Nxe6 fxe6 11.Qh5+ followed by 12.Qxc5 is a notorious trap) 10.Nc3 Qf5 (10...dxc3?? 11.Qxd5 wins, since 11...Bxd5 is illegal) 11.Nce4 0-0-0 with complex play. Another line for White to try, a critical response, is after 6...d5, White plays 7.Bb5 with strong ideas for both sides, usually resulting in a slight edge for White.
An alternative for White is 8.fxg7 Rg8 9.Bg5, analysed by Lev Gutman and Stefan Bücker in Kaissiber, which they consider to be good for White. Black's usual response is 9...Be7 10.Bxe7 Kxe7.
When contributing to this Wikibook, please follow the conventions for organization.

## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
    1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4.d4 exd4 5. O-O Bc5 6. e5
| | 6 | 7 | 8 | 9 | 10 | 11 |
| 1 | e5 d5 | exf6 dxc4 | Re1+ Be6 | fxg7 Rg8 | Bg5 Be7 | Bxe7 Qxe7 |
| 2 | e5 Ng4 | c3 d5 | Bb5 dxc3 | h3 cxb2 | Bxb2 Nh6 | Qc2 Be7 |
When contributing to this Wikibook, please follow the Conventions for organization.
# Chess Opening Theory/1. e4/1...e5/2. f4/2...exf4/3. Nf3/3...g5/4. Bc4/4...g4/5. Ne5/5...Qh4

6. Kf1: Main Line
# Chess Opening Theory/1. e4/1...e5/2. f4/2...exf4/3. Nf3/3...g5/4. Bc4/4...g4/5. Ne5/5...Qh4/6. Kf1

6...Nh6: Silberchmidt Defence
6...Nc6: Viennese Variation
6...f3: Cochrane Gambit
6...Nf6: Santa Maria Defence
# Chess Opening Theory/1. e4/1...e5/2. f4/2...exf4/3. Nf3/3...g5/4. Bc4/4...g4/5. Ne5

White wills to save the knight while allowing 5...Qh4+ attacking the king.
# King's Gambit, Muzio Gambit
### 5...gxf3

Black has accepted the Muzio Gambit and must play accurately. White may want to capture the pawn with 6. Qxf3.
# Chess Opening Theory/1. e4/1...e5/2. f4/2...exf4/3. Nf3/3...g5/4. h4/4...g4

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
White's knight is attacked. Although there are some King's Gambit positions where White can ignore this attack and carry on developing, this isn't one of them.
* 5. Ne5 is the Kieseritzky Gambit, which can be considered the main line of the whole King's Gambit. White targets f7 and g4, in the hope of recovering her lost pawn and leaving Black with weak pawns on f4, f7 and h7. But while that knight is going on a tour of the board, Black is catching up on development with moves like ...d6 and ...Nf6, and even if Black does end up with doubled isolated f-pawns, the one on f4 is going nowhere and remains a thorn in White's side.
* 5. Ng5 is the Allgaier Gambit. Black can now trap the knight with 5...h6, forcing it to sacrifice itself on f7 to displace the Black king. How well this typically works can be illustrated by the fact that the Kieseritsky Gambit is statistically one of the most terrible openings in the White repertoire, but it's still about ten times as popular as the Allgaier Gambit.
5.Nd4 is just going to give away a tempo to 5...Bg7, and 5.Nh2 undefends h4 with dire consequences.

## Theory table

For explanation of theory tables, see theory table and for notation, see algebraic notation. .
1.e4 e5 2.f4 exf4 3.Nf3 g5 4. h4 g4
| | 5 | 6 |
| Kieseritzky Gambit | Ne5 Nf6 |
| Allgaier Gambit | Ng5 h6 | Nxf7 Kxf7 |
When contributing to this Wikibook, please follow the Conventions for organization.

## References

* Fundamental Chess Openings (2009). Paul van der Sterren. ISBN 1-906454-13-2.
* The King's Gambit (2013). John Shaw. ISBN 978-1-906552-71-8.
* "The King's Gambit". The Gambiteer's Guild. Retrieved 25 Jul 2014.
# Chess Opening Theory/1. e4/1...e5/2. f4/2...exf4/3. Nf3/3...g5/4. h4/4...g4/5. Ne5/5...Nf6

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
There's a pawn on g4 if White wants to capture it, but it isn't a free gift: Black is counter-attacking e4.
* 6. d4 is the main line. White is attacking a pawn and Black is attacking a pawn, that's 1 pawn each, so rather than resolve either of those situations, White makes to 2 to 1 in her favour! This move also ensures that once Black kicks the knight away from e5 by playing ...d6, it will be able to retreat to d3 without blocking the d-pawn. Playing 6.d3 wouldn't have that advantage, and would also shut in the f1-bishop.
* 6. Bc4 was the move favoured by the world champion of the pre-World Championship era, Paul Morphy. White capitalises on the e5-knight's attack on f7. Black will have to close the diagonal with 6...d5 7.exd5, after which material will be level but White's bishop will be blockaded by its own pawn.
* 6. Nxg4 is also possible, but White is in danger of remaining a pawn down after 6...Nxe4 and will have to enter some complications involving a sacrifice of the rook on h1.